Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001846, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00259/0.002591, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 71.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8789, allocations: 140.4 MB / 0.9496 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002993/0.882, allocations: 1.733 MB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.8834, allocations: 0.8975 MB / 0.9521 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.8835, allocations: 0 / 0.9521 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.8837, allocations: 30.22 kB / 0.9522 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.884, allocations: 117.1 kB / 0.9523 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.8843, allocations: 147.9 kB / 0.9524 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.8846, allocations: 242.9 kB / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.8847, allocations: 41.58 kB / 0.9527 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.8848, allocations: 117.3 kB / 0.9528 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.896, allocations: 2.013 MB / 0.9548 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.8961, allocations: 17.69 kB / 0.9548 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.8962, allocations: 44.62 kB / 0.9548 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.8963, allocations: 42.56 kB / 0.9549 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.8965, allocations: 90.45 kB / 0.955 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.8969, allocations: 213.2 kB / 0.9552 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8969, allocations: 1.469 kB / 0.9552 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8969, allocations: 0 / 0.9552 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.897, allocations: 0 / 0.9552 GB, free: 5.926 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007987/0.8978, allocations: 0.5575 MB / 0.9557 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8978, allocations: 10.09 kB / 0.9557 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.8979, allocations: 27.09 kB / 0.9557 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.8982, allocations: 239.4 kB / 0.956 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.8982, allocations: 9.688 kB / 0.956 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.8982, allocations: 19.61 kB / 0.956 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8984, allocations: 87.66 kB / 0.9561 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8984, allocations: 3.938 kB / 0.9561 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8985, allocations: 1.344 kB / 0.9561 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8985, allocations: 1.688 kB / 0.9561 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.8986, allocations: 53.38 kB / 0.9561 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.8993, allocations: 466.1 kB / 0.9566 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.8997, allocations: 136.5 kB / 0.9567 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.8998, allocations: 38.72 kB / 0.9567 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.8998, allocations: 1.375 kB / 0.9567 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.9001, allocations: 116.1 kB / 0.9569 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.9001, allocations: 0 / 0.9569 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003433/0.9005, allocations: 162.2 kB / 0.957 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9005, allocations: 59.42 kB / 0.9571 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.9007, allocations: 194.7 kB / 0.9573 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.9007, allocations: 32.55 kB / 0.9573 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.9008, allocations: 126.3 kB / 0.9574 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.9008, allocations: 33.7 kB / 0.9574 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.9009, allocations: 55.67 kB / 0.9575 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.901, allocations: 331 kB / 0.9578 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.9011, allocations: 39.47 kB / 0.9578 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.9013, allocations: 130.6 kB / 0.958 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.9014, allocations: 106 kB / 0.9581 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9014, allocations: 0 / 0.9581 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000229/0.9017, allocations: 157.3 kB / 0.9582 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9017, allocations: 5.438 kB / 0.9582 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9017, allocations: 1.125 kB / 0.9582 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.9017, allocations: 6.281 kB / 0.9582 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.9018, allocations: 15.89 kB / 0.9582 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9018, allocations: 6.125 kB / 0.9583 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.902, allocations: 28.08 kB / 0.9583 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.9021, allocations: 4.906 kB / 0.9583 GB, free: 3.207 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001086/0.9022, allocations: 144.4 kB / 0.9584 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.9022, allocations: 16.31 kB / 0.9584 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.9023, allocations: 25.58 kB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9023, allocations: 1.156 kB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9023, allocations: 1.125 kB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9023, allocations: 0 / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.9029, allocations: 0.4888 MB / 0.9589 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9029, allocations: 0 / 0.9589 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.9029, allocations: 16.17 kB / 0.959 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9029, allocations: 4 kB / 0.959 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9029, allocations: 2.188 kB / 0.959 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9029, allocations: 5.031 kB / 0.959 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9029, allocations: 0 / 0.959 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.9031, allocations: 222.5 kB / 0.9592 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.9032, allocations: 97.36 kB / 0.9593 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.9032, allocations: 1.281 kB / 0.9593 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.9033, allocations: 18.98 kB / 0.9593 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.9034, allocations: 25.59 kB / 0.9593 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.9034, allocations: 8.797 kB / 0.9593 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001032/0.9036, allocations: 137.9 kB / 0.9595 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9036, allocations: 0.7188 kB / 0.9595 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003107/0.9039, allocations: 51.7 kB / 0.9595 GB, free: 2.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003608/0.9042, allocations: 174.2 kB / 0.9597 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.9045, allocations: 108.9 kB / 0.9598 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9045, allocations: 5.125 kB / 0.9598 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.9046, allocations: 55.73 kB / 0.9598 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.9051, allocations: 57.55 kB / 0.9599 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.9056, allocations: 290.8 kB / 0.9602 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.9058, allocations: 0.7251 MB / 0.9609 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.155e-05/0.9058, allocations: 18.86 kB / 0.9609 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.9059, allocations: 24.3 kB / 0.9609 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9059, allocations: 1.062 kB / 0.9609 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of Templates: time 0.007939/0.9139, allocations: 3.709 MB / 0.9645 GB, free: 15.12 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches