Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005564/0.005564, allocations: 99.86 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 194.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003149/0.003149, allocations: 67.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7899, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003189/0.7931, allocations: 1.745 MB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.7948, allocations: 0.9085 MB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.7949, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.7951, allocations: 35.72 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.7955, allocations: 111.4 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.7959, allocations: 157.2 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.7963, allocations: 235.5 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.7964, allocations: 41.61 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.7966, allocations: 111.7 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0161/0.8127, allocations: 1.993 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.8128, allocations: 20 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.813, allocations: 39.98 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.8131, allocations: 31.91 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.8132, allocations: 99.48 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.8136, allocations: 225.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.8137, allocations: 8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8137, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.8137, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008862/0.8146, allocations: 0.5525 MB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8146, allocations: 12.62 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.8147, allocations: 42.73 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.8148, allocations: 20.84 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.8151, allocations: 248.2 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8151, allocations: 12 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.8151, allocations: 12 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.8154, allocations: 107.4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.8154, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.8154, allocations: 8 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8154, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.8156, allocations: 59.91 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.8165, allocations: 0.5396 MB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.8167, allocations: 97.14 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.8167, allocations: 45.89 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8168, allocations: 3.938 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.8171, allocations: 124.1 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.8171, allocations: 4 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003829/0.8175, allocations: 158.8 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.8176, allocations: 85.11 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.8178, allocations: 200.1 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.8178, allocations: 33.7 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.8179, allocations: 128.5 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.818, allocations: 31.73 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.8181, allocations: 61.81 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8182, allocations: 330.8 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.8183, allocations: 31.92 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8186, allocations: 142.8 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.8187, allocations: 117.4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8187, allocations: 4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002662/0.819, allocations: 165.4 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.819, allocations: 4 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8191, allocations: 4 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8191, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.8192, allocations: 19.92 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8192, allocations: 4 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.8194, allocations: 27.88 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.8194, allocations: 8 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.8196, allocations: 147.6 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.8196, allocations: 15.91 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.8197, allocations: 21.52 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.8197, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8197, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8197, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.8203, allocations: 474.2 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8203, allocations: 4 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.8204, allocations: 4 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8204, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.8204, allocations: 7.938 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8204, allocations: 4 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8204, allocations: 0 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.8207, allocations: 236.1 kB / 1.176 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.8207, allocations: 93.02 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.8208, allocations: 7.938 kB / 1.176 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.8209, allocations: 15.97 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.821, allocations: 15.98 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.821, allocations: 11.98 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001411/0.8212, allocations: 140.5 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8212, allocations: 0 / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003137/0.8215, allocations: 47.89 kB / 1.176 GB, free: 9.488 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008508/0.8224, allocations: 0.8508 MB / 1.177 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.8226, allocations: 91.91 kB / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8226, allocations: 4 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.8227, allocations: 56.23 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.8232, allocations: 53.27 kB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.8254, allocations: 1.923 MB / 1.179 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8258, allocations: 0.7242 MB / 1.18 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.405e-05/0.8258, allocations: 21.55 kB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.826, allocations: 59.41 kB / 1.18 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.826, allocations: 0 / 1.18 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.8556, allocations: 5.556 MB / 1.185 GB, free: 164 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.177, allocations: 11.8 kB / 1.185 GB, free: 152 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches