Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003011/0.003011, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.403/3.403, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 61.19 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003243/0.3516, allocations: 1.761 MB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3534, allocations: 0.9558 MB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.3535, allocations: 4 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3537, allocations: 23.73 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.3541, allocations: 127.4 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3545, allocations: 162.7 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.3549, allocations: 243.4 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.355, allocations: 37.95 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3552, allocations: 107.7 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.3691, allocations: 1.708 MB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.3692, allocations: 20 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3693, allocations: 36 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.3694, allocations: 39.84 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3696, allocations: 95.55 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.37, allocations: 219.1 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.37, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.37, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.37, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008931/0.3709, allocations: 492.7 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3709, allocations: 8.031 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.371, allocations: 42.75 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.371, allocations: 28.78 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.3713, allocations: 185.5 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3714, allocations: 12 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3714, allocations: 16 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3716, allocations: 85.66 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3716, allocations: 0 / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3716, allocations: 7.984 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3716, allocations: 3.938 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3717, allocations: 55.91 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.3726, allocations: 431.5 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.373, allocations: 134.7 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.3731, allocations: 28.84 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3731, allocations: 4 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.3734, allocations: 115.4 kB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3734, allocations: 4 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003495/0.3737, allocations: 164.5 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3738, allocations: 63.39 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.374, allocations: 194.5 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.374, allocations: 33.7 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3741, allocations: 120.5 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3742, allocations: 39.73 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.3743, allocations: 57.67 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3744, allocations: 330.8 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.3745, allocations: 31.98 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3748, allocations: 132.5 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3749, allocations: 106 kB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3749, allocations: 0 / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002587/0.3752, allocations: 149.5 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3752, allocations: 4 kB / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3752, allocations: 0 / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3752, allocations: 4 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.3753, allocations: 28.05 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3753, allocations: 0 / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3755, allocations: 23.88 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3755, allocations: 16 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001674/0.3757, allocations: 147.4 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.3757, allocations: 23.89 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.3758, allocations: 17.81 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3758, allocations: 3.984 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3758, allocations: 4 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3758, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.3765, allocations: 461.3 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3765, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.3765, allocations: 4 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3765, allocations: 3.938 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3765, allocations: 15.92 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3765, allocations: 11.88 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3765, allocations: 0 / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3768, allocations: 227.3 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.3768, allocations: 15.89 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3768, allocations: 7.938 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3769, allocations: 11.98 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.377, allocations: 23.91 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.377, allocations: 15.98 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001287/0.3772, allocations: 140.5 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3772, allocations: 0 / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003121/0.3775, allocations: 44 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.000877/0.3784, allocations: 0.837 MB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3786, allocations: 106.6 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3786, allocations: 0 / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.3787, allocations: 47.92 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3791, allocations: 49.45 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3814, allocations: 1.914 MB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3817, allocations: 0.7281 MB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.788e-05/0.3818, allocations: 17.64 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3819, allocations: 59.34 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3819, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4168, allocations: 5.791 MB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 11.38 kB / 1.372 GB, free: 5.258 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.81085123000048]