Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.919, allocations: 160.7 MB / 1.213 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.004305/0.9233, allocations: 1.641 MB / 1.214 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.9248, allocations: 0.5732 MB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.9249, allocations: 5.219 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.9251, allocations: 22.42 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.9257, allocations: 116.5 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.9261, allocations: 145.9 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.9265, allocations: 223.7 kB / 1.216 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.9266, allocations: 21.89 kB / 1.216 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.9268, allocations: 95.48 kB / 1.216 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.9393, allocations: 1.584 MB / 1.217 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.9394, allocations: 16.62 kB / 1.217 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.9396, allocations: 41.91 kB / 1.217 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.9397, allocations: 38.78 kB / 1.217 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.9398, allocations: 82.5 kB / 1.217 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.9404, allocations: 185.3 kB / 1.218 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9404, allocations: 4 kB / 1.218 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9404, allocations: 1.062 kB / 1.218 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9404, allocations: 0 / 1.218 GB, free: 0.8438 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001085/0.9415, allocations: 0.5342 MB / 1.218 GB, free: 316 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9415, allocations: 10.75 kB / 1.218 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.9416, allocations: 37.34 kB / 1.218 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.9417, allocations: 21.86 kB / 1.218 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.9421, allocations: 240.5 kB / 1.218 GB, free: 0 / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.9421, allocations: 6.594 kB / 1.218 GB, free: 0 / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.9422, allocations: 12.39 kB / 1.218 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.9424, allocations: 83.81 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9424, allocations: 0 / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9424, allocations: 5.125 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.9424, allocations: 2.406 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.9425, allocations: 42.81 kB / 1.219 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.9435, allocations: 446.8 kB / 1.219 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.9437, allocations: 61.28 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.9437, allocations: 24.41 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.9437, allocations: 0.9062 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.944, allocations: 95.44 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.944, allocations: 7.875 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0003746/0.9444, allocations: 125.8 kB / 1.219 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.9445, allocations: 58.67 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.9447, allocations: 191.2 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.9448, allocations: 33.27 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.9449, allocations: 113.2 kB / 1.22 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.9449, allocations: 31.22 kB / 1.22 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.945, allocations: 54.16 kB / 1.22 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.9453, allocations: 326.8 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.9453, allocations: 27.3 kB / 1.22 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.9456, allocations: 116.1 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.9457, allocations: 93.7 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9457, allocations: 0 / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002689/0.946, allocations: 131.1 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.946, allocations: 14.19 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.946, allocations: 4.75 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9461, allocations: 1.953 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.9461, allocations: 22.72 kB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9462, allocations: 1.312 kB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.9464, allocations: 25.75 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.9464, allocations: 4.469 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001612/0.9465, allocations: 134.1 kB / 1.221 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.9466, allocations: 19.28 kB / 1.221 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.9466, allocations: 20.48 kB / 1.221 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.9466, allocations: 2.156 kB / 1.221 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9466, allocations: 0 / 1.221 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9466, allocations: 1 kB / 1.221 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.9473, allocations: 438.4 kB / 1.221 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9473, allocations: 1.031 kB / 1.221 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.9473, allocations: 2.156 kB / 1.221 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9473, allocations: 1.031 kB / 1.221 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.9473, allocations: 5.094 kB / 1.221 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.9473, allocations: 1.125 kB / 1.221 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9473, allocations: 0 / 1.221 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.9476, allocations: 219.2 kB / 1.221 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.9477, allocations: 88.59 kB / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.9477, allocations: 1.219 kB / 1.221 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.9478, allocations: 12.45 kB / 1.221 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.9479, allocations: 13.73 kB / 1.221 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.9479, allocations: 5.781 kB / 1.221 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001598/0.948, allocations: 142.4 kB / 1.221 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.948, allocations: 3.938 kB / 1.221 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003338/0.9484, allocations: 38.14 kB / 1.222 GB, free: 13.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009238/0.9493, allocations: 0.798 MB / 1.222 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.9496, allocations: 87.17 kB / 1.222 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9496, allocations: 0 / 1.222 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.9496, allocations: 36.92 kB / 1.222 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.9501, allocations: 41.17 kB / 1.222 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.9526, allocations: 1.787 MB / 1.224 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.953, allocations: 0.7163 MB / 1.225 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.9531, allocations: 20.94 kB / 1.225 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.9532, allocations: 46.02 kB / 1.225 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.9532, allocations: 0 / 1.225 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.987, allocations: 5.042 MB / 1.23 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/9.421, allocations: 11.02 kB / 1.23 GB, free: 6.883 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.437091623898596]