Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001148/0.001153, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009884/0.009884, allocations: 170 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.7364 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 16.95 kB / 0.9027 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 159.6 MB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001981/0.3267, allocations: 1.436 MB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3279, allocations: 0.5968 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.3279, allocations: 7.938 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.3281, allocations: 23.86 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.3284, allocations: 87.66 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3287, allocations: 131.8 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3289, allocations: 203.5 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3291, allocations: 21.53 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3292, allocations: 91.67 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04859/0.3778, allocations: 3.2 MB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.3779, allocations: 8 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.378, allocations: 27.98 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.3781, allocations: 27.98 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3782, allocations: 101.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3785, allocations: 175.5 kB / 1.065 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3785, allocations: 0 / 1.065 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3785, allocations: 0 / 1.065 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3785, allocations: 0 / 1.065 GB, free: 15.71 MB / 0.8262 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.0007082/0.3793, allocations: 0.5021 MB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3793, allocations: 11.97 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.3794, allocations: 20.75 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3796, allocations: 236 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3797, allocations: 11.94 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.3797, allocations: 16 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3799, allocations: 87.56 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3799, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3799, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3799, allocations: 4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.38, allocations: 43.97 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.3808, allocations: 456.3 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.381, allocations: 62.55 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.381, allocations: 32.86 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3811, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3812, allocations: 95.48 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3812, allocations: 0 / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0002715/0.3815, allocations: 137.3 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3815, allocations: 55.41 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3817, allocations: 183.2 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3818, allocations: 33.7 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.3819, allocations: 116 kB / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3819, allocations: 31.69 kB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.382, allocations: 25.7 kB / 1.067 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3821, allocations: 326.8 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.3822, allocations: 27.92 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.3824, allocations: 118.7 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3825, allocations: 84.22 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3825, allocations: 0 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000211/0.3827, allocations: 141.4 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3827, allocations: 11.94 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3827, allocations: 3.938 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3828, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.3828, allocations: 11.98 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3829, allocations: 7.938 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.383, allocations: 23.84 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3831, allocations: 4 kB / 1.067 GB, free: 12.56 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: 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.0001133/0.3832, allocations: 134 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.3832, allocations: 7.906 kB / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.3833, allocations: 29.27 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3833, allocations: 4 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3833, allocations: 0 / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3833, allocations: 0 / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3838, allocations: 434.3 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.3838, allocations: 4 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.3838, allocations: 7.922 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3838, allocations: 3.938 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3838, allocations: 8 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3838, allocations: 0 / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3838, allocations: 0 / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.384, allocations: 203.8 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.3841, allocations: 100.8 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3841, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.3842, allocations: 11.98 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3843, allocations: 15.98 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3843, allocations: 4 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001072/0.3844, allocations: 141.1 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3844, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005122/0.3849, allocations: 40 kB / 1.068 GB, free: 11.33 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: 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.0003348/0.3853, allocations: 181 kB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3855, allocations: 76.78 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3855, allocations: 0 / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.3856, allocations: 39.92 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.386, allocations: 49.28 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.3865, allocations: 310.1 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3868, allocations: 0.7127 MB / 1.07 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.3868, allocations: 21.53 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3869, allocations: 19.44 kB / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3869, allocations: 0 / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of Templates: time 0.006612/0.3935, allocations: 3.091 MB / 1.073 GB, free: 6.844 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches