Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009482/0.009482, allocations: 98.39 kB / 15.73 MB, free: 6.004 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.001705/0.001705, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.661/2.661, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8787, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003094/0.8818, allocations: 1.624 MB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.8829, allocations: 0.5665 MB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.883, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.8832, allocations: 35.72 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.8836, allocations: 107.5 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.8839, allocations: 147.7 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.8842, allocations: 219.4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.8843, allocations: 21.55 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.8844, allocations: 99.72 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009215/0.8936, allocations: 1.58 MB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.8937, allocations: 16 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.8939, allocations: 31.98 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.8939, allocations: 39.91 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.8941, allocations: 83.56 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.8945, allocations: 200.3 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.8945, allocations: 0 / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.61e-07/0.8945, allocations: 0 / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.8945, allocations: 0 / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008037/0.8953, allocations: 0.5253 MB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8953, allocations: 8.031 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.8954, allocations: 20.84 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.8958, allocations: 248.5 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.8958, allocations: 11.94 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.8958, allocations: 16 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.896, allocations: 81.59 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.896, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.896, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.896, allocations: 11.92 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.64e-05/0.8961, allocations: 43.97 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.8969, allocations: 444.4 kB / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.8971, allocations: 58.56 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.8972, allocations: 28.84 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.8972, allocations: 192 / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.8974, allocations: 95.25 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.8974, allocations: 0 / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003116/0.8977, allocations: 129.5 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.8977, allocations: 59.39 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.8979, allocations: 191.1 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.898, allocations: 29.7 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.8981, allocations: 116.1 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.8981, allocations: 23.94 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.8982, allocations: 65.59 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8983, allocations: 326.8 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.8984, allocations: 27.98 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.8986, allocations: 111.7 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.8987, allocations: 91.3 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8987, allocations: 4 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002338/0.899, allocations: 137.4 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.899, allocations: 4 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.899, allocations: 12.06 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.899, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.8991, allocations: 15.98 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.8991, allocations: 3.938 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.8993, allocations: 23.92 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8993, allocations: 4 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001429/0.8994, allocations: 125.8 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.8994, allocations: 15.86 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.8995, allocations: 29.33 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8995, allocations: 4 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8995, allocations: 0 / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8995, allocations: 0 / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.9, allocations: 430.2 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9, allocations: 0 / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.9, allocations: 11.94 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.9001, allocations: 0 / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9001, allocations: 0 / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9001, allocations: 7.938 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9001, allocations: 0 / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.9003, allocations: 203.9 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.9003, allocations: 97 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.9003, allocations: 4 kB / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.9004, allocations: 7.984 kB / 1.229 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.9005, allocations: 11.98 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.9005, allocations: 8 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001178/0.9006, allocations: 141.1 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9006, allocations: 0 / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003137/0.901, allocations: 43.94 kB / 1.229 GB, free: 9.312 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003497/0.9013, allocations: 176.6 kB / 1.229 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.9015, allocations: 75.91 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9015, allocations: 0 / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.9016, allocations: 39.92 kB / 1.229 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.902, allocations: 51.25 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.9026, allocations: 270.6 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.9029, allocations: 0.7163 MB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.614e-05/0.903, allocations: 21.55 kB / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.9031, allocations: 23.42 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.9031, allocations: 0 / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of Templates: time 0.007756/0.9108, allocations: 3.307 MB / 1.234 GB, free: 4.652 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches