Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008255, allocations: 89.16 kB / 16.02 MB, free: 80 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.001017/0.001017, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003474, allocations: 19.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6714, allocations: 142.4 MB / 0.9557 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002015/0.6735, allocations: 1.545 MB / 0.9572 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.675, allocations: 0.9266 MB / 0.9581 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.6751, allocations: 1.344 kB / 0.9581 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.6753, allocations: 23.05 kB / 0.9581 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.6756, allocations: 100.2 kB / 0.9582 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.6759, allocations: 140.3 kB / 0.9584 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.6762, allocations: 229.1 kB / 0.9586 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.6764, allocations: 42.56 kB / 0.9586 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.6765, allocations: 98.19 kB / 0.9587 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05398/0.7305, allocations: 3.569 MB / 0.9622 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.7306, allocations: 9.25 kB / 0.9622 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.7307, allocations: 29.7 kB / 0.9622 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.7308, allocations: 31.34 kB / 0.9623 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.731, allocations: 107.4 kB / 0.9624 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.7312, allocations: 145.7 kB / 0.9625 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7312, allocations: 4 kB / 0.9625 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7312, allocations: 0 / 0.9625 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7313, allocations: 0 / 0.9625 GB, free: 4.176 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007755/0.732, allocations: 0.5226 MB / 0.963 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7321, allocations: 10.06 kB / 0.963 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.7322, allocations: 19.44 kB / 0.9631 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7325, allocations: 250.6 kB / 0.9633 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.7325, allocations: 11.34 kB / 0.9633 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.7326, allocations: 14.12 kB / 0.9633 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.7328, allocations: 111.9 kB / 0.9634 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7328, allocations: 3.938 kB / 0.9634 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.7328, allocations: 5.5 kB / 0.9634 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7329, allocations: 3 kB / 0.9634 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.733, allocations: 57.2 kB / 0.9635 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/0.7339, allocations: 0.5559 MB / 0.964 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.7341, allocations: 99.69 kB / 0.9641 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.7341, allocations: 41.86 kB / 0.9642 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.7342, allocations: 1.062 kB / 0.9642 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.7344, allocations: 126.1 kB / 0.9643 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.7344, allocations: 1.281 kB / 0.9643 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003467/0.7347, allocations: 154.5 kB / 0.9644 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7348, allocations: 84.23 kB / 0.9645 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.735, allocations: 204.4 kB / 0.9647 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.735, allocations: 33.55 kB / 0.9647 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.7351, allocations: 129.5 kB / 0.9649 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.7351, allocations: 34.14 kB / 0.9649 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.7352, allocations: 28.8 kB / 0.9649 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.7353, allocations: 331.4 kB / 0.9652 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.7353, allocations: 30.23 kB / 0.9653 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.7355, allocations: 139.8 kB / 0.9654 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.7357, allocations: 113.3 kB / 0.9655 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7357, allocations: 0 / 0.9655 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002716/0.736, allocations: 160 kB / 0.9657 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.736, allocations: 5.406 kB / 0.9657 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.736, allocations: 1.344 kB / 0.9657 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7361, allocations: 3.25 kB / 0.9657 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.7362, allocations: 24.42 kB / 0.9657 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7362, allocations: 2.688 kB / 0.9657 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.7364, allocations: 28.86 kB / 0.9657 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.7364, allocations: 13.75 kB / 0.9657 GB, free: 1.281 MB / 0.7169 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.0001238/0.7366, allocations: 148.8 kB / 0.9659 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.7366, allocations: 20.33 kB / 0.9659 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.7367, allocations: 21.28 kB / 0.9659 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7367, allocations: 2.656 kB / 0.9659 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7367, allocations: 5.125 kB / 0.9659 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7367, allocations: 0 / 0.9659 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.7373, allocations: 469 kB / 0.9664 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7373, allocations: 0.9375 kB / 0.9664 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.7373, allocations: 11.11 kB / 0.9664 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7373, allocations: 1.062 kB / 0.9664 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.7373, allocations: 2.062 kB / 0.9664 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7373, allocations: 5.094 kB / 0.9664 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7373, allocations: 0.75 kB / 0.9664 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.7376, allocations: 236.5 kB / 0.9666 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.7376, allocations: 98.92 kB / 0.9667 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.7377, allocations: 4.969 kB / 0.9667 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.7378, allocations: 24.22 kB / 0.9667 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.7379, allocations: 20.08 kB / 0.9668 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.7379, allocations: 9.859 kB / 0.9668 GB, free: 364 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001183/0.7381, allocations: 143.1 kB / 0.9669 GB, free: 256 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7381, allocations: 0 / 0.9669 GB, free: 256 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003447/0.7384, allocations: 42.72 kB / 0.967 GB, free: 248 kB / 0.7169 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.0003574/0.7388, allocations: 174.5 kB / 0.9671 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.739, allocations: 97.41 kB / 0.9672 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.739, allocations: 0 / 0.9672 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.7392, allocations: 51.89 kB / 0.9673 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.7396, allocations: 64.95 kB / 0.9673 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.7403, allocations: 375.5 kB / 0.9677 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.7407, allocations: 0.7181 MB / 0.9684 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.7408, allocations: 28.11 kB / 0.9684 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7408, allocations: 0 / 0.9684 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.008248/0.749, allocations: 3.176 MB / 0.9715 GB, free: 13.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time