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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007458/0.007458, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001904/0.001904, allocations: 202.7 kB / 16.68 MB, free: 5.934 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.646/2.646, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.89 kB / 1.083 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.85, allocations: 162.3 MB / 1.242 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002885/0.8529, allocations: 1.749 MB / 1.244 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8543, allocations: 0.8891 MB / 1.244 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.8544, allocations: 8 kB / 1.244 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.8546, allocations: 19.73 kB / 1.244 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.8549, allocations: 123.4 kB / 1.245 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.8553, allocations: 162.6 kB / 1.245 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.8556, allocations: 235.4 kB / 1.245 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.8557, allocations: 37.66 kB / 1.245 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.8558, allocations: 119.6 kB / 1.245 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/0.8688, allocations: 1.69 MB / 1.247 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.8689, allocations: 20 kB / 1.247 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.869, allocations: 36 kB / 1.247 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.8691, allocations: 43.78 kB / 1.247 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.8693, allocations: 91.55 kB / 1.247 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.8697, allocations: 221.8 kB / 1.247 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8697, allocations: 4 kB / 1.247 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.028e-06/0.8697, allocations: 0 / 1.247 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.8697, allocations: 3.938 kB / 1.247 GB, free: 12.17 MB / 0.9669 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.0008638/0.8706, allocations: 0.5487 MB / 1.248 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8707, allocations: 12.03 kB / 1.248 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.8707, allocations: 42.75 kB / 1.248 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.8708, allocations: 28.78 kB / 1.248 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.8711, allocations: 251.3 kB / 1.248 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.8711, allocations: 4 kB / 1.248 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.8712, allocations: 16 kB / 1.248 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.8714, allocations: 93.64 kB / 1.248 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8714, allocations: 0 / 1.248 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8714, allocations: 4 kB / 1.248 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8714, allocations: 4 kB / 1.248 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.8715, allocations: 51.97 kB / 1.248 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.8723, allocations: 456.4 kB / 1.249 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.8728, allocations: 142.6 kB / 1.249 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.8728, allocations: 40.84 kB / 1.249 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.8729, allocations: 0 / 1.249 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.8731, allocations: 121.3 kB / 1.249 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.8731, allocations: 0 / 1.249 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003602/0.8735, allocations: 165.5 kB / 1.249 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.8736, allocations: 59.33 kB / 1.249 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.8738, allocations: 194.2 kB / 1.249 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.8738, allocations: 33.7 kB / 1.249 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.8739, allocations: 128.5 kB / 1.249 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.874, allocations: 31.73 kB / 1.249 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.8741, allocations: 61.67 kB / 1.25 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8742, allocations: 326.8 kB / 1.25 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.8743, allocations: 35.98 kB / 1.25 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.8746, allocations: 127.5 kB / 1.25 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.8747, allocations: 106.4 kB / 1.25 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8747, allocations: 0 / 1.25 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002527/0.875, allocations: 157.3 kB / 1.25 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.875, allocations: 6.188 kB / 1.25 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.875, allocations: 4 kB / 1.25 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.875, allocations: 4.125 kB / 1.25 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.8751, allocations: 19.92 kB / 1.25 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.8751, allocations: 4 kB / 1.25 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.8753, allocations: 27.88 kB / 1.25 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.8754, allocations: 4 kB / 1.25 GB, free: 8.633 MB / 0.9669 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.0001405/0.8755, allocations: 144 kB / 1.25 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.8755, allocations: 15.91 kB / 1.25 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.8756, allocations: 21.88 kB / 1.25 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8756, allocations: 4 kB / 1.25 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8756, allocations: 0 / 1.25 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8756, allocations: 11.97 kB / 1.25 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.8763, allocations: 496.7 kB / 1.251 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.8763, allocations: 4 kB / 1.251 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.8763, allocations: 0 / 1.251 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.8763, allocations: 7.984 kB / 1.251 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8764, allocations: 7.938 kB / 1.251 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8764, allocations: 3.984 kB / 1.251 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8764, allocations: 0 / 1.251 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.8766, allocations: 235.2 kB / 1.251 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.8767, allocations: 93.02 kB / 1.251 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.8767, allocations: 7.938 kB / 1.251 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.8769, allocations: 11.98 kB / 1.251 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.8769, allocations: 27.97 kB / 1.251 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.877, allocations: 4 kB / 1.251 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001319/0.8771, allocations: 139.3 kB / 1.251 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8771, allocations: 0 / 1.251 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002966/0.8774, allocations: 51.92 kB / 1.252 GB, free: 7.266 MB / 0.9669 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.0008396/0.8783, allocations: 0.8233 MB / 1.252 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.8785, allocations: 118.3 kB / 1.252 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8785, allocations: 0 / 1.252 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.8786, allocations: 51.92 kB / 1.252 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.8791, allocations: 58.02 kB / 1.253 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.8814, allocations: 1.911 MB / 1.254 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.8817, allocations: 0.7203 MB / 1.255 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.591e-05/0.8818, allocations: 29.52 kB / 1.255 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.8819, allocations: 55.41 kB / 1.255 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.882, allocations: 0 / 1.255 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4538/1.336, allocations: 5.591 MB / 1.261 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.95, allocations: 6.781 kB / 1.261 GB, free: 13.95 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/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) Reference file matches