Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001781/0.001781, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002125, allocations: 63.84 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9884/0.9905, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003499/0.9941, allocations: 1.742 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.9958, allocations: 0.8929 MB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.9959, allocations: 7.938 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.9961, allocations: 23.72 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.9966, allocations: 127.4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.997, allocations: 155.7 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.9974, allocations: 231.4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.9975, allocations: 45.66 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.9977, allocations: 115.6 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009614/1.007, allocations: 1.662 MB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/1.007, allocations: 20 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/1.008, allocations: 43.97 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/1.008, allocations: 39.84 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/1.008, allocations: 95.5 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/1.008, allocations: 215.3 kB / 1.214 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.008, allocations: 0 / 1.214 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/1.008, allocations: 0 / 1.214 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.008, allocations: 0 / 1.214 GB, free: 8.676 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001004/1.009, allocations: 0.5506 MB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.009, allocations: 16.03 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/1.009, allocations: 20.66 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/1.01, allocations: 243.5 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/1.01, allocations: 19.97 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.01, allocations: 12 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/1.01, allocations: 116.8 kB / 1.215 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.01, allocations: 4 kB / 1.215 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.01, allocations: 4 kB / 1.215 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.01, allocations: 4 kB / 1.215 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/1.01, allocations: 54.31 kB / 1.215 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/1.011, allocations: 0.5357 MB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/1.011, allocations: 101.2 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/1.011, allocations: 41.77 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/1.011, allocations: 4 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/1.012, allocations: 125 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.012, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003645/1.012, allocations: 157.5 kB / 1.216 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/1.012, allocations: 89.05 kB / 1.216 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/1.012, allocations: 200.8 kB / 1.216 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/1.012, allocations: 33.7 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/1.012, allocations: 120.5 kB / 1.216 GB, free: 6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.013, allocations: 39.66 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.013, allocations: 61.69 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.013, allocations: 326.8 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/1.013, allocations: 35.98 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/1.013, allocations: 137.3 kB / 1.217 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/1.013, allocations: 113 kB / 1.217 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.013, allocations: 0 / 1.217 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002543/1.014, allocations: 165.3 kB / 1.217 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.014, allocations: 11.94 kB / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.014, allocations: 0 / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.014, allocations: 4 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/1.014, allocations: 19.92 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.014, allocations: 0 / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.014, allocations: 31.83 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.014, allocations: 4 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001416/1.014, allocations: 147.6 kB / 1.217 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/1.014, allocations: 15.81 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/1.014, allocations: 21.53 kB / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.014, allocations: 96 / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.014, allocations: 0 / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.014, allocations: 7.969 kB / 1.217 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/1.015, allocations: 462.2 kB / 1.218 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.015, allocations: 4 kB / 1.218 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/1.015, allocations: 7.984 kB / 1.218 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.015, allocations: 0 / 1.218 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.015, allocations: 8 kB / 1.218 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.015, allocations: 3.938 kB / 1.218 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.015, allocations: 0 / 1.218 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/1.015, allocations: 240 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/1.015, allocations: 88.92 kB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/1.015, allocations: 4 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.015, allocations: 19.92 kB / 1.218 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/1.015, allocations: 19.97 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/1.015, allocations: 4 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001416/1.016, allocations: 144.2 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.016, allocations: 0 / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003148/1.016, allocations: 51.92 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003922/1.016, allocations: 183.4 kB / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002256/1.017, allocations: 91.91 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.017, allocations: 0 / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.781e-05/1.017, allocations: 51.92 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.017, allocations: 57.62 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/1.018, allocations: 354 kB / 1.219 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.018, allocations: 0.7203 MB / 1.22 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/1.018, allocations: 27.36 kB / 1.22 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.018, allocations: 4 kB / 1.22 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.005673/1.024, allocations: 3.211 MB / 1.223 GB, free: 14.96 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches