Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_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.008293/0.008293, allocations: 100 kB / 15.73 MB, free: 6.062 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.001415/0.001415, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.406/1.406, 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.703/2.703, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 59.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8763, allocations: 159.1 MB / 1.221 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003471/0.8797, allocations: 1.745 MB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.8813, allocations: 0.8978 MB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.8814, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.8816, allocations: 31.72 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.882, allocations: 123.4 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.8824, allocations: 151.7 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.8827, allocations: 235.4 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.8829, allocations: 37.59 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.883, allocations: 111.7 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.8934, allocations: 1.668 MB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.8935, allocations: 24 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.8938, allocations: 43.92 kB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.8939, allocations: 35.89 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.8942, allocations: 95.5 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009302/0.8951, allocations: 224.1 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.8951, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.89e-06/0.8951, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.8951, allocations: 0 / 1.226 GB, free: 13.1 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001584/0.8967, allocations: 0.5564 MB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.8968, allocations: 12.03 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.8969, allocations: 16.84 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.8973, allocations: 252.7 kB / 1.227 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.8973, allocations: 12 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.8974, allocations: 12 kB / 1.227 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.8977, allocations: 113.7 kB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8978, allocations: 4 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.8978, allocations: 8 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.8978, allocations: 0 / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.8979, allocations: 55.91 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.899, allocations: 0.5396 MB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.8992, allocations: 89.08 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.8993, allocations: 33.77 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.8993, allocations: 4 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.8997, allocations: 141 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.8997, allocations: 0 / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004288/0.9001, allocations: 161.5 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.9002, allocations: 77.11 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.9004, allocations: 204.3 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.9004, allocations: 29.7 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.9005, allocations: 124.6 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.9006, allocations: 39.72 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.9007, allocations: 65.56 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9008, allocations: 326.8 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.9009, allocations: 31.98 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.9012, allocations: 147.3 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.9013, allocations: 105.9 kB / 1.229 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9013, allocations: 4 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003098/0.9016, allocations: 154.5 kB / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.9017, allocations: 15.88 kB / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9017, allocations: 0 / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.9017, allocations: 4 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.9018, allocations: 15.98 kB / 1.229 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.9018, allocations: 4 kB / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.9021, allocations: 36.03 kB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.9021, allocations: 7.938 kB / 1.229 GB, free: 9.414 MB / 0.9512 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.0001666/0.9023, allocations: 144 kB / 1.229 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.9023, allocations: 15.91 kB / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.9023, allocations: 21.52 kB / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.9024, allocations: 0 / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.9024, allocations: 4 kB / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9024, allocations: 0 / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.903, allocations: 471.9 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.9031, allocations: 4 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.9031, allocations: 7.938 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9031, allocations: 4 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.9031, allocations: 0 / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.9031, allocations: 3.938 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9031, allocations: 4 kB / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.9034, allocations: 231.2 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.9035, allocations: 92.95 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.9035, allocations: 7.922 kB / 1.23 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.9036, allocations: 19.92 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.9037, allocations: 19.92 kB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.9038, allocations: 11.98 kB / 1.23 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001425/0.9039, allocations: 144.9 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9039, allocations: 4 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003757/0.9043, allocations: 43.95 kB / 1.23 GB, free: 8.082 MB / 0.9512 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.0005557/0.9048, allocations: 178.7 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.9052, allocations: 95.84 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9052, allocations: 4 kB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.9053, allocations: 43.92 kB / 1.231 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.9058, allocations: 68.95 kB / 1.231 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.9065, allocations: 311.8 kB / 1.231 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.9068, allocations: 0.7242 MB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.642e-05/0.9069, allocations: 21.53 kB / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.907, allocations: 19.44 kB / 1.232 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.907, allocations: 0 / 1.232 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of Templates: time 0.008421/0.9154, allocations: 3.673 MB / 1.235 GB, free: 2.961 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches