Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 108.2 kB / 15.99 MB, free: 6.359 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.001484/0.001484, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.553/2.553, allocations: 390.2 MB / 0.665 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.31 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003492/0.3007, allocations: 1.893 MB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3024, allocations: 0.9359 MB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3025, allocations: 0 / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3028, allocations: 23.86 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.3032, allocations: 111.6 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3036, allocations: 139.7 kB / 0.9528 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.3039, allocations: 243.4 kB / 0.953 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.304, allocations: 45.5 kB / 0.9531 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3042, allocations: 107.7 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02701/0.3312, allocations: 2.007 MB / 0.9551 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.3313, allocations: 27.88 kB / 0.9551 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3314, allocations: 36 kB / 0.9552 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.3315, allocations: 35.91 kB / 0.9552 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3316, allocations: 91.55 kB / 0.9553 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.3319, allocations: 147.7 kB / 0.9554 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.332, allocations: 4 kB / 0.9554 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.332, allocations: 0 / 0.9554 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.332, allocations: 0 / 0.9554 GB, free: 3.902 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.0008608/0.3328, allocations: 0.5527 MB / 0.956 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3329, allocations: 11.97 kB / 0.956 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.333, allocations: 20.75 kB / 0.956 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3333, allocations: 247.5 kB / 0.9563 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3333, allocations: 8 kB / 0.9563 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.3334, allocations: 16 kB / 0.9563 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3336, allocations: 89.59 kB / 0.9564 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3336, allocations: 7.938 kB / 0.9564 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3336, allocations: 7.984 kB / 0.9564 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3336, allocations: 4 kB / 0.9564 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3337, allocations: 50.22 kB / 0.9564 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.3346, allocations: 464.4 kB / 0.9569 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.335, allocations: 130.8 kB / 0.957 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3351, allocations: 36.84 kB / 0.957 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3351, allocations: 0 / 0.957 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3353, allocations: 126 kB / 0.9571 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3353, allocations: 0 / 0.9571 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003468/0.3357, allocations: 161.5 kB / 0.9573 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3357, allocations: 63.34 kB / 0.9574 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3359, allocations: 198.5 kB / 0.9576 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.336, allocations: 37.7 kB / 0.9576 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.3361, allocations: 116.5 kB / 0.9577 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.3361, allocations: 39.47 kB / 0.9577 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.3362, allocations: 57.69 kB / 0.9578 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3364, allocations: 330.8 kB / 0.9581 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.3364, allocations: 31.98 kB / 0.9581 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3367, allocations: 132.7 kB / 0.9583 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3368, allocations: 94.73 kB / 0.9584 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3368, allocations: 0 / 0.9584 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002559/0.3371, allocations: 165.2 kB / 0.9585 GB, free: 488 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3371, allocations: 8 kB / 0.9585 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3371, allocations: 0 / 0.9585 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3371, allocations: 0 / 0.9585 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.3372, allocations: 15.94 kB / 0.9585 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3372, allocations: 7.938 kB / 0.9585 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3375, allocations: 31.81 kB / 0.9586 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3375, allocations: 8.125 kB / 0.9586 GB, free: 416 kB / 0.7325 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.0001556/0.3377, allocations: 135.5 kB / 0.9587 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.3377, allocations: 15.81 kB / 0.9587 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.3377, allocations: 25.86 kB / 0.9587 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3378, allocations: 7.938 kB / 0.9588 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3378, allocations: 3.938 kB / 0.9588 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3378, allocations: 0 / 0.9588 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.3385, allocations: 498.1 kB / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3385, allocations: 0 / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.3385, allocations: 4 kB / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3385, allocations: 0 / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3385, allocations: 4 kB / 0.9592 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.3385, allocations: 7.938 kB / 0.9593 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3386, allocations: 0 / 0.9593 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3388, allocations: 237.3 kB / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.3389, allocations: 88.92 kB / 0.9596 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3389, allocations: 11.92 kB / 0.9596 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.339, allocations: 15.92 kB / 0.9596 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3391, allocations: 15.98 kB / 0.9596 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3391, allocations: 7.984 kB / 0.9596 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001266/0.3393, allocations: 144.5 kB / 0.9597 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3393, allocations: 0 / 0.9597 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003186/0.3396, allocations: 55.94 kB / 0.9598 GB, free: 15.06 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.0003387/0.3399, allocations: 162 kB / 0.96 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3402, allocations: 116.9 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3402, allocations: 7.938 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.3403, allocations: 55.92 kB / 0.9601 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3408, allocations: 57.52 kB / 0.9602 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.3413, allocations: 353 kB / 0.9605 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3417, allocations: 0.7203 MB / 0.9612 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.3417, allocations: 27.42 kB / 0.9613 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.3417, allocations: 0 / 0.9613 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.005481/0.3472, allocations: 3.193 MB / 0.9644 GB, free: 10.36 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time