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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001401/0.001402, allocations: 100.1 kB / 15.88 MB, free: 12 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.001398/0.001398, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 61.16 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3223, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003537/0.3259, allocations: 1.887 MB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3276, allocations: 0.9474 MB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3278, allocations: 3.938 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.328, allocations: 23.84 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.3284, allocations: 87.66 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.3288, allocations: 143.8 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.3291, allocations: 231.4 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3292, allocations: 37.64 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3294, allocations: 95.69 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02259/0.352, allocations: 1.568 MB / 1.058 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.3521, allocations: 8 kB / 1.058 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3523, allocations: 31.98 kB / 1.058 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.3524, allocations: 31.84 kB / 1.058 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3525, allocations: 87.5 kB / 1.058 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3528, allocations: 139.8 kB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3528, allocations: 4 kB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3528, allocations: 0 / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3528, allocations: 4 kB / 1.058 GB, free: 3.383 MB / 0.8106 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.0009419/0.3538, allocations: 0.5488 MB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3538, allocations: 11.97 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.3539, allocations: 20.75 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3542, allocations: 251.4 kB / 1.059 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3543, allocations: 12 kB / 1.059 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.3543, allocations: 16 kB / 1.059 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3545, allocations: 93.64 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3545, allocations: 0 / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3545, allocations: 0 / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3546, allocations: 4 kB / 1.059 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3547, allocations: 59.86 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.3556, allocations: 464.4 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.356, allocations: 146.7 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.3561, allocations: 36.78 kB / 1.06 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3561, allocations: 0 / 1.06 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3564, allocations: 119.1 kB / 1.06 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3564, allocations: 0 / 1.06 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003547/0.3567, allocations: 160.1 kB / 1.06 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3568, allocations: 67.34 kB / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.357, allocations: 196.3 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.357, allocations: 33.7 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.3571, allocations: 116.5 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.3572, allocations: 39.53 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.3573, allocations: 57.67 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3574, allocations: 326.8 kB / 1.061 GB, free: 428 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.3575, allocations: 35.98 kB / 1.061 GB, free: 392 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3577, allocations: 136.2 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3579, allocations: 102.7 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3579, allocations: 0 / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002595/0.3582, allocations: 153.3 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3582, allocations: 8 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3582, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3582, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.3583, allocations: 19.98 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3583, allocations: 4 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3585, allocations: 27.95 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3585, allocations: 8 kB / 1.061 GB, free: 15.89 MB / 0.8262 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.000125/0.3587, allocations: 139.5 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3587, allocations: 19.8 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.3588, allocations: 17.88 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3588, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3588, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3588, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.3595, allocations: 498.1 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3595, allocations: 0 / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.3595, allocations: 7.938 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3595, allocations: 0 / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3595, allocations: 4 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3596, allocations: 11.92 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3596, allocations: 0 / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.3598, allocations: 231.2 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3599, allocations: 92.91 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.3599, allocations: 4 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.36, allocations: 19.92 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.3601, allocations: 19.97 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3602, allocations: 4 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001211/0.3603, allocations: 156.2 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3603, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000313/0.3606, allocations: 47.92 kB / 1.062 GB, free: 14.54 MB / 0.8262 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.0003338/0.361, allocations: 175 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.3612, allocations: 106.2 kB / 1.063 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3612, allocations: 0 / 1.063 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.3613, allocations: 47.92 kB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3617, allocations: 62.8 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.3625, allocations: 378.8 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3628, allocations: 0.7167 MB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.3629, allocations: 31.42 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3629, allocations: 0 / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of Templates: time 0.005776/0.3686, allocations: 3.191 MB / 1.067 GB, free: 9.828 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches