Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.00196, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.5679, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002838/0.5708, allocations: 1.731 MB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.5722, allocations: 0.8973 MB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.5724, allocations: 5.156 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.5725, allocations: 30.78 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.573, allocations: 117 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.5733, allocations: 154.9 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.5736, allocations: 242.9 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.5737, allocations: 39.28 kB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.5739, allocations: 113.5 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008971/0.5829, allocations: 1.652 MB / 0.9546 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.583, allocations: 17.91 kB / 0.9546 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.5831, allocations: 40.98 kB / 0.9546 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.5832, allocations: 39.44 kB / 0.9547 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5833, allocations: 94.59 kB / 0.9547 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.5837, allocations: 213.1 kB / 0.9549 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5837, allocations: 1.219 kB / 0.9549 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5838, allocations: 0 / 0.9549 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5838, allocations: 0 / 0.9549 GB, free: 5.711 MB / 0.7169 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.0007695/0.5845, allocations: 0.5591 MB / 0.9555 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5846, allocations: 9.594 kB / 0.9555 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.5846, allocations: 41.41 kB / 0.9555 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.5847, allocations: 19.59 kB / 0.9556 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.585, allocations: 251.4 kB / 0.9558 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.585, allocations: 6.531 kB / 0.9558 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.5851, allocations: 13.84 kB / 0.9558 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.5853, allocations: 114.9 kB / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5853, allocations: 0 / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5853, allocations: 5.75 kB / 0.9559 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5853, allocations: 5.734 kB / 0.9559 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.5854, allocations: 57.45 kB / 0.956 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.5861, allocations: 0.5404 MB / 0.9565 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.5863, allocations: 93.62 kB / 0.9566 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.5864, allocations: 46.33 kB / 0.9567 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.5864, allocations: 6.094 kB / 0.9567 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.5866, allocations: 118.2 kB / 0.9568 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5866, allocations: 0 / 0.9568 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003222/0.5869, allocations: 162.6 kB / 0.9569 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5869, allocations: 92.78 kB / 0.957 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5871, allocations: 203.8 kB / 0.9572 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5872, allocations: 37.77 kB / 0.9572 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.5872, allocations: 121.8 kB / 0.9574 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.5873, allocations: 33.28 kB / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.5874, allocations: 56.48 kB / 0.9575 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.5874, allocations: 327.3 kB / 0.9578 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.5875, allocations: 38.14 kB / 0.9578 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.5877, allocations: 137.8 kB / 0.9579 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.5878, allocations: 113.5 kB / 0.958 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5878, allocations: 0.75 kB / 0.958 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002539/0.5881, allocations: 169.7 kB / 0.9582 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5881, allocations: 6.875 kB / 0.9582 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5881, allocations: 5.531 kB / 0.9582 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5882, allocations: 2.75 kB / 0.9582 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.5882, allocations: 16.31 kB / 0.9582 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5883, allocations: 2.75 kB / 0.9582 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5885, allocations: 28.28 kB / 0.9583 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.5885, allocations: 5.5 kB / 0.9583 GB, free: 2.727 MB / 0.7169 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.0001037/0.5886, allocations: 137.3 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.5886, allocations: 23.91 kB / 0.9584 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.5887, allocations: 25.64 kB / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5887, allocations: 1.375 kB / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5887, allocations: 1.375 kB / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5887, allocations: 0 / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.5892, allocations: 463.5 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5892, allocations: 1.375 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.5893, allocations: 2.844 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5893, allocations: 9.359 kB / 0.9589 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5893, allocations: 13.23 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.5893, allocations: 1.375 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5893, allocations: 1.375 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.5895, allocations: 230.1 kB / 0.9591 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.5895, allocations: 97.44 kB / 0.9592 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5896, allocations: 5 kB / 0.9592 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5897, allocations: 14.95 kB / 0.9592 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.5898, allocations: 20.94 kB / 0.9593 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.5898, allocations: 9.844 kB / 0.9593 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001002/0.5899, allocations: 138.6 kB / 0.9594 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5899, allocations: 0 / 0.9594 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003221/0.5902, allocations: 51.34 kB / 0.9595 GB, free: 1.695 MB / 0.7169 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.0005887/0.5908, allocations: 0.8454 MB / 0.9603 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5911, allocations: 106.8 kB / 0.9604 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5911, allocations: 1.062 kB / 0.9604 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.5912, allocations: 51.02 kB / 0.9604 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5916, allocations: 66.52 kB / 0.9605 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.5935, allocations: 1.919 MB / 0.9624 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5938, allocations: 0.7211 MB / 0.9631 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001/0.5939, allocations: 27.14 kB / 0.9631 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.594, allocations: 60.38 kB / 0.9632 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.594, allocations: 0 / 0.9632 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.6178, allocations: 5.479 MB / 0.9685 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.46, allocations: 6.531 kB / 0.9685 GB, free: 11.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches