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.001737/0.001737, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001726/0.001726, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.176/2.176, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 65.81 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003113/0.2685, allocations: 1.715 MB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.27, allocations: 0.9163 MB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.2701, allocations: 3.938 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.2703, allocations: 27.73 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.2707, allocations: 115.4 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2712, allocations: 151.7 kB / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2716, allocations: 243.4 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2718, allocations: 37.58 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2719, allocations: 115.6 kB / 0.9544 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.2824, allocations: 1.703 MB / 0.956 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.2825, allocations: 16 kB / 0.956 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2827, allocations: 36 kB / 0.9561 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.273e-05/0.2828, allocations: 39.89 kB / 0.9561 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2829, allocations: 95.5 kB / 0.9562 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.2834, allocations: 215.3 kB / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2834, allocations: 0 / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2834, allocations: 0 / 0.9564 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2834, allocations: 3.938 kB / 0.9564 GB, free: 3.102 MB / 0.7325 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.00092/0.2843, allocations: 0.5528 MB / 0.9569 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2844, allocations: 11.97 kB / 0.957 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.2845, allocations: 20.75 kB / 0.957 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.2848, allocations: 243.5 kB / 0.9572 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2848, allocations: 8 kB / 0.9572 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.2849, allocations: 19.94 kB / 0.9572 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.2851, allocations: 87.55 kB / 0.9573 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2851, allocations: 0 / 0.9573 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2851, allocations: 15.98 kB / 0.9573 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2851, allocations: 3.938 kB / 0.9573 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2852, allocations: 47.97 kB / 0.9574 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.286, allocations: 456.5 kB / 0.9578 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.2864, allocations: 138.7 kB / 0.958 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.2865, allocations: 36.84 kB / 0.958 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2865, allocations: 4 kB / 0.958 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2868, allocations: 126.3 kB / 0.9581 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2868, allocations: 0 / 0.9581 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.000342/0.2872, allocations: 157.5 kB / 0.9583 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.2872, allocations: 59.34 kB / 0.9583 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2874, allocations: 198.5 kB / 0.9585 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2875, allocations: 33.7 kB / 0.9585 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.2876, allocations: 120.5 kB / 0.9587 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2876, allocations: 39.55 kB / 0.9587 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.2877, allocations: 61.67 kB / 0.9588 GB, free: 480 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2879, allocations: 326.8 kB / 0.9591 GB, free: 144 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.2879, allocations: 31.98 kB / 0.9591 GB, free: 112 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.2882, allocations: 131.5 kB / 0.9592 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.2883, allocations: 100.2 kB / 0.9593 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2883, allocations: 4 kB / 0.9593 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002544/0.2886, allocations: 159.6 kB / 0.9595 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2886, allocations: 8.125 kB / 0.9595 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2886, allocations: 0 / 0.9595 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2887, allocations: 7.938 kB / 0.9595 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.2887, allocations: 12 kB / 0.9595 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2888, allocations: 0 / 0.9595 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.289, allocations: 35.75 kB / 0.9595 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.289, allocations: 8 kB / 0.9595 GB, free: 15.61 MB / 0.7481 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.0001336/0.2891, allocations: 137.5 kB / 0.9597 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2892, allocations: 23.75 kB / 0.9597 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.2892, allocations: 21.86 kB / 0.9597 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2892, allocations: 0 / 0.9597 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2892, allocations: 0 / 0.9597 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2892, allocations: 0 / 0.9597 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.2899, allocations: 494.1 kB / 0.9602 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2899, allocations: 3.984 kB / 0.9602 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.2899, allocations: 7.938 kB / 0.9602 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.29, allocations: 4 kB / 0.9602 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.29, allocations: 4 kB / 0.9602 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.29, allocations: 3.938 kB / 0.9602 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.29, allocations: 0 / 0.9602 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.2902, allocations: 233.8 kB / 0.9604 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2903, allocations: 92.97 kB / 0.9605 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2903, allocations: 3.984 kB / 0.9605 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2904, allocations: 27.91 kB / 0.9606 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.2905, allocations: 15.98 kB / 0.9606 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2906, allocations: 11.98 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000107/0.2907, allocations: 136.5 kB / 0.9607 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.774e-06/0.2907, allocations: 0 / 0.9607 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003019/0.291, allocations: 47.94 kB / 0.9608 GB, free: 14.27 MB / 0.7481 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.0003509/0.2913, allocations: 183.5 kB / 0.9609 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.2916, allocations: 100.1 kB / 0.961 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2916, allocations: 0 / 0.961 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.2917, allocations: 51.92 kB / 0.9611 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2921, allocations: 55.52 kB / 0.9611 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.2927, allocations: 311.2 kB / 0.9614 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2931, allocations: 0.7204 MB / 0.9621 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.146e-05/0.2932, allocations: 29.52 kB / 0.9622 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2932, allocations: 23.42 kB / 0.9622 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2932, allocations: 0 / 0.9622 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.007373/0.3006, allocations: 3.705 MB / 0.9658 GB, free: 9.105 MB / 0.7481 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches