Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00153/0.00153, allocations: 106.4 kB / 16.41 MB, free: 6.465 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.001775/0.001775, allocations: 187 kB / 17.34 MB, free: 5.715 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8953, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003316/0.8987, allocations: 1.638 MB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.8999, allocations: 0.5655 MB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.9001, allocations: 3.938 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.9003, allocations: 31.78 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.9008, allocations: 111.5 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.9012, allocations: 145.8 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.9016, allocations: 223.4 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.9017, allocations: 25.53 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.9019, allocations: 103.7 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00924/0.9111, allocations: 1.573 MB / 1.172 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.9112, allocations: 16 kB / 1.172 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.9113, allocations: 32 kB / 1.172 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.9114, allocations: 39.84 kB / 1.172 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.9115, allocations: 83.56 kB / 1.172 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.9119, allocations: 190.9 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9119, allocations: 0 / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9119, allocations: 4 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.912, allocations: 0 / 1.172 GB, free: 15.45 MB / 0.9044 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.0008198/0.9128, allocations: 0.533 MB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.9128, allocations: 8.922 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.9129, allocations: 24.84 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.9132, allocations: 228.2 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.9133, allocations: 11.94 kB / 1.173 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.9133, allocations: 16 kB / 1.173 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.9135, allocations: 85.53 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9135, allocations: 0 / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.9135, allocations: 4 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.9135, allocations: 4 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.9137, allocations: 43.97 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.9145, allocations: 444.4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.9146, allocations: 66.56 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.9147, allocations: 32.78 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.9147, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.9149, allocations: 83.38 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.9149, allocations: 4 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0003045/0.9152, allocations: 141.6 kB / 1.174 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.9153, allocations: 51.41 kB / 1.174 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.9154, allocations: 195.6 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.9155, allocations: 33.7 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.9156, allocations: 112.1 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.9156, allocations: 27.92 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.9157, allocations: 53.67 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9158, allocations: 330.8 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.9159, allocations: 27.98 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.9161, allocations: 118.7 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.9163, allocations: 88.23 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9163, allocations: 0 / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002189/0.9165, allocations: 133.5 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9165, allocations: 8 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9165, allocations: 3.938 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9165, allocations: 4.125 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.9166, allocations: 19.92 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9167, allocations: 4 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.9168, allocations: 23.88 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.9169, allocations: 4 kB / 1.175 GB, free: 12.25 MB / 0.9044 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.0001208/0.917, allocations: 129.8 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.917, allocations: 19.91 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.9171, allocations: 21.33 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9171, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9171, allocations: 4 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9171, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.9176, allocations: 430.3 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9176, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.9176, allocations: 8 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9177, allocations: 3.938 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.9177, allocations: 8 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9177, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9177, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.9179, allocations: 215.3 kB / 1.176 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.9179, allocations: 89.05 kB / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.918, allocations: 0 / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.9181, allocations: 11.92 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.9181, allocations: 15.98 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.9182, allocations: 4 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001115/0.9183, allocations: 140.1 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9183, allocations: 0 / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003069/0.9186, allocations: 43.89 kB / 1.176 GB, free: 11.03 MB / 0.9044 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.0003188/0.9189, allocations: 163.2 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.9191, allocations: 82.28 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9191, allocations: 3.938 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.9192, allocations: 39.97 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.9196, allocations: 57.56 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.9202, allocations: 304.3 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9205, allocations: 0.7124 MB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.9206, allocations: 19.44 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.9206, allocations: 3.938 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of Templates: time 0.005352/0.9259, allocations: 2.928 MB / 1.18 GB, free: 6.711 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches