Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.00133/0.00133, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 11.94 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8767, allocations: 142.4 MB / 0.9544 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001962/0.8788, allocations: 1.498 MB / 0.9559 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.8801, allocations: 0.8886 MB / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.8802, allocations: 5.188 kB / 0.9568 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.8804, allocations: 24.44 kB / 0.9568 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.8807, allocations: 100.1 kB / 0.9569 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.8811, allocations: 151.7 kB / 0.957 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.8813, allocations: 204.3 kB / 0.9572 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8815, allocations: 31.56 kB / 0.9572 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.8816, allocations: 95.8 kB / 0.9573 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/0.8862, allocations: 3.136 MB / 0.9604 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.8863, allocations: 8.375 kB / 0.9604 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.8864, allocations: 30.58 kB / 0.9604 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.8865, allocations: 26.5 kB / 0.9605 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.8866, allocations: 58.41 kB / 0.9605 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.8868, allocations: 141.8 kB / 0.9606 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8868, allocations: 4 kB / 0.9607 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8868, allocations: 0 / 0.9607 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8868, allocations: 0 / 0.9607 GB, free: 4.289 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006701/0.8875, allocations: 0.5157 MB / 0.9612 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8875, allocations: 9.75 kB / 0.9612 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.8876, allocations: 26.55 kB / 0.9612 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.8878, allocations: 233.4 kB / 0.9614 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.8879, allocations: 10.38 kB / 0.9614 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.8879, allocations: 15.22 kB / 0.9614 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8881, allocations: 91.72 kB / 0.9615 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.8881, allocations: 0 / 0.9615 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.8881, allocations: 5.5 kB / 0.9615 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8881, allocations: 1.281 kB / 0.9615 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.8882, allocations: 61.44 kB / 0.9616 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.8889, allocations: 475.6 kB / 0.962 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.8893, allocations: 155.2 kB / 0.9622 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.8894, allocations: 33.7 kB / 0.9622 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.8894, allocations: 10.52 kB / 0.9622 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.8896, allocations: 106.3 kB / 0.9623 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.8896, allocations: 3.938 kB / 0.9623 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003095/0.8899, allocations: 160.1 kB / 0.9625 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.89, allocations: 58.42 kB / 0.9625 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.8901, allocations: 194.7 kB / 0.9627 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.8902, allocations: 37.67 kB / 0.9628 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.8902, allocations: 122 kB / 0.9629 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.8903, allocations: 32.67 kB / 0.9629 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.8903, allocations: 5 kB / 0.9629 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.8904, allocations: 335.8 kB / 0.9632 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.8904, allocations: 33.8 kB / 0.9633 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.8906, allocations: 123.2 kB / 0.9634 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.8907, allocations: 41.89 kB / 0.9634 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8907, allocations: 0 / 0.9634 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002231/0.8909, allocations: 157.4 kB / 0.9636 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.891, allocations: 5.344 kB / 0.9636 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.891, allocations: 1.312 kB / 0.9636 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.891, allocations: 2.688 kB / 0.9636 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.8911, allocations: 23.67 kB / 0.9636 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8911, allocations: 10.77 kB / 0.9636 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.8913, allocations: 31.73 kB / 0.9637 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.8913, allocations: 9.703 kB / 0.9637 GB, free: 1.691 MB / 0.7169 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.8914, allocations: 131.8 kB / 0.9638 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.8915, allocations: 24.34 kB / 0.9638 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.8915, allocations: 21.72 kB / 0.9638 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8915, allocations: 10 kB / 0.9638 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8915, allocations: 0 / 0.9638 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8916, allocations: 0 / 0.9638 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.8921, allocations: 0.5024 MB / 0.9643 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8922, allocations: 0 / 0.9643 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.8922, allocations: 4.156 kB / 0.9643 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8922, allocations: 0.9688 kB / 0.9643 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8922, allocations: 5.031 kB / 0.9643 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8922, allocations: 4.984 kB / 0.9643 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8922, allocations: 0 / 0.9643 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.8924, allocations: 229.8 kB / 0.9646 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.8925, allocations: 97.56 kB / 0.9647 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.8925, allocations: 6.031 kB / 0.9647 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.8926, allocations: 15.08 kB / 0.9647 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.8927, allocations: 33.11 kB / 0.9647 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.8927, allocations: 9.812 kB / 0.9647 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001029/0.8928, allocations: 143.4 kB / 0.9649 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8928, allocations: 0 / 0.9649 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003116/0.8931, allocations: 48 kB / 0.9649 GB, free: 0.6406 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/0.8935, allocations: 157.9 kB / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.8938, allocations: 106.3 kB / 0.9652 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8938, allocations: 0.8438 kB / 0.9652 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.8939, allocations: 51.92 kB / 0.9652 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.8943, allocations: 57.48 kB / 0.9653 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.895, allocations: 335.5 kB / 0.9656 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.8954, allocations: 0.7213 MB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.284e-05/0.8955, allocations: 30.56 kB / 0.9663 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.8956, allocations: 23.98 kB / 0.9663 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8956, allocations: 0 / 0.9663 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.007938/0.9035, allocations: 3.336 MB / 0.9696 GB, free: 13.76 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches