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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001147/0.001147, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001309/0.001309, allocations: 194.7 kB / 16.14 MB, free: 6.637 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 69.02 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3132, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003091/0.3164, allocations: 1.887 MB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3179, allocations: 0.9513 MB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.318, allocations: 3.938 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.3182, allocations: 19.86 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.3185, allocations: 91.66 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3188, allocations: 143.7 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.319, allocations: 235.3 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3192, allocations: 33.67 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3193, allocations: 103.6 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02195/0.3413, allocations: 1.551 MB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3414, allocations: 12 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3415, allocations: 32 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.3416, allocations: 35.78 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.3418, allocations: 87.55 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.3421, allocations: 203.4 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3422, allocations: 0 / 1.057 GB, free: 3.871 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.000947/0.3431, allocations: 0.5541 MB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3432, allocations: 11.97 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.3432, allocations: 24.75 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.3436, allocations: 248.6 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3436, allocations: 15.98 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.3436, allocations: 12 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3438, allocations: 85.66 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3439, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3439, allocations: 7.984 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3439, allocations: 11.94 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.344, allocations: 51.94 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.3448, allocations: 460.4 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.3453, allocations: 134.7 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.3453, allocations: 36.84 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3454, allocations: 0 / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.3456, allocations: 123.1 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3456, allocations: 4 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003297/0.3459, allocations: 159.9 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.346, allocations: 59.34 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3461, allocations: 200.3 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3462, allocations: 33.7 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.3463, allocations: 120.5 kB / 1.06 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3463, allocations: 35.55 kB / 1.06 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.3464, allocations: 57.67 kB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3465, allocations: 330.8 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.3466, allocations: 35.92 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.3468, allocations: 139.5 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.347, allocations: 92.23 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.347, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002474/0.3472, allocations: 163.5 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3472, allocations: 8 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3473, allocations: 0 / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3473, allocations: 0 / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.3473, allocations: 12 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3474, allocations: 4 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3476, allocations: 35.75 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3476, allocations: 4 kB / 1.06 GB, free: 388 kB / 0.8106 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.000123/0.3477, allocations: 141.1 kB / 1.061 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3477, allocations: 15.81 kB / 1.061 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.3478, allocations: 21.86 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3478, allocations: 4 kB / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3478, allocations: 0 / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3478, allocations: 48 / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.3485, allocations: 0.4942 MB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3485, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.3485, allocations: 7.938 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3485, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3485, allocations: 4 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3485, allocations: 7.938 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3486, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3488, allocations: 237.7 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3489, allocations: 92.92 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3489, allocations: 3.984 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.349, allocations: 19.92 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.3491, allocations: 19.97 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3491, allocations: 8 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3493, allocations: 144.2 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.713e-06/0.3493, allocations: 0 / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003026/0.3496, allocations: 47.88 kB / 1.062 GB, free: 15.03 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.0003512/0.3499, allocations: 173.1 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3502, allocations: 103.9 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3502, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.3503, allocations: 51.92 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3507, allocations: 51.7 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.3513, allocations: 345.3 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3516, allocations: 0.7284 MB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.951e-05/0.3517, allocations: 25.47 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3517, allocations: 23.42 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3517, allocations: 0 / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.006786/0.3585, allocations: 3.476 MB / 1.067 GB, free: 10.06 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/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