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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001454/0.001455, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001447/0.001447, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 482.3 MB / 0.7542 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.08 kB / 0.9232 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 162.2 MB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003352/0.306, allocations: 1.883 MB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3076, allocations: 0.9359 MB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.3077, allocations: 0 / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.308, allocations: 23.8 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.3084, allocations: 107.6 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.3087, allocations: 135.1 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.309, allocations: 243.4 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3092, allocations: 41.62 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3093, allocations: 115.7 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02788/0.3372, allocations: 1.69 MB / 1.087 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.3373, allocations: 16 kB / 1.087 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3374, allocations: 39.98 kB / 1.087 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.3375, allocations: 35.91 kB / 1.087 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3377, allocations: 99.44 kB / 1.087 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.338, allocations: 207.4 kB / 1.087 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.338, allocations: 4 kB / 1.087 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3381, allocations: 4 kB / 1.087 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3381, allocations: 0 / 1.087 GB, free: 8.617 MB / 0.8419 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.000998/0.3391, allocations: 0.545 MB / 1.088 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3391, allocations: 8.031 kB / 1.088 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.657e-05/0.3392, allocations: 28.64 kB / 1.088 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.3395, allocations: 243.5 kB / 1.088 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3396, allocations: 4 kB / 1.088 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.3396, allocations: 16 kB / 1.088 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3398, allocations: 99.47 kB / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3398, allocations: 0 / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3399, allocations: 4 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3399, allocations: 4 kB / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.34, allocations: 51.92 kB / 1.088 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.3408, allocations: 464.3 kB / 1.088 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.3413, allocations: 146.6 kB / 1.089 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.3414, allocations: 40.83 kB / 1.089 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3414, allocations: 0 / 1.089 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3416, allocations: 109.6 kB / 1.089 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3416, allocations: 4 kB / 1.089 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.00036/0.342, allocations: 165.4 kB / 1.089 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3421, allocations: 63.33 kB / 1.089 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3423, allocations: 192 kB / 1.089 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.3424, allocations: 33.7 kB / 1.089 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3425, allocations: 128.4 kB / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.3426, allocations: 27.56 kB / 1.089 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3427, allocations: 61.67 kB / 1.089 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3429, allocations: 330.8 kB / 1.09 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.343, allocations: 31.98 kB / 1.09 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3433, allocations: 124.9 kB / 1.09 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3434, allocations: 108.1 kB / 1.09 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3434, allocations: 0 / 1.09 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002656/0.3437, allocations: 155.6 kB / 1.09 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3437, allocations: 4 kB / 1.09 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3437, allocations: 8 kB / 1.09 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3438, allocations: 0 / 1.09 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.3439, allocations: 27.98 kB / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3439, allocations: 4 kB / 1.09 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3441, allocations: 23.92 kB / 1.09 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3441, allocations: 4 kB / 1.09 GB, free: 5.133 MB / 0.8419 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.000167/0.3443, allocations: 143.5 kB / 1.09 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.3443, allocations: 19.72 kB / 1.09 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.3444, allocations: 17.88 kB / 1.09 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3444, allocations: 4 kB / 1.09 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3444, allocations: 4 kB / 1.09 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3444, allocations: 3.984 kB / 1.09 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.3452, allocations: 494.1 kB / 1.091 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3452, allocations: 0 / 1.091 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.3452, allocations: 4 kB / 1.091 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3452, allocations: 3.984 kB / 1.091 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3452, allocations: 4 kB / 1.091 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3452, allocations: 7.938 kB / 1.091 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3453, allocations: 0 / 1.091 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3455, allocations: 234.4 kB / 1.091 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.3456, allocations: 92.92 kB / 1.091 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3457, allocations: 3.938 kB / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3458, allocations: 19.92 kB / 1.091 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.3459, allocations: 23.97 kB / 1.091 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3459, allocations: 4 kB / 1.091 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001405/0.3461, allocations: 144.2 kB / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3461, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003153/0.3464, allocations: 51.92 kB / 1.091 GB, free: 3.785 MB / 0.8419 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.0004493/0.3468, allocations: 183.4 kB / 1.092 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.3471, allocations: 110.1 kB / 1.092 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3471, allocations: 256 / 1.092 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3473, allocations: 59.86 kB / 1.092 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3477, allocations: 47.7 kB / 1.092 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.3484, allocations: 363.2 kB / 1.092 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3488, allocations: 0.7242 MB / 1.093 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.653e-05/0.3489, allocations: 21.53 kB / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.349, allocations: 23.44 kB / 1.093 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.349, allocations: 0 / 1.093 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of Templates: time 0.008658/0.3577, allocations: 3.607 MB / 1.096 GB, free: 14.67 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches