Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.001506/0.001506, 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.001701/0.001701, allocations: 197.1 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.639/2.639, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6244, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00368/0.6282, allocations: 1.735 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.6299, allocations: 0.9046 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.63, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.6302, allocations: 31.73 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.6307, allocations: 111.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.6311, allocations: 147.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.6314, allocations: 239.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.6316, allocations: 37.67 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.6318, allocations: 111.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.6438, allocations: 2.018 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.6439, allocations: 16 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.6441, allocations: 39.98 kB / 1.023 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.6441, allocations: 39.84 kB / 1.023 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.6443, allocations: 99.55 kB / 1.023 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.6446, allocations: 215.3 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6446, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6447, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6447, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 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.0007825/0.6455, allocations: 0.5526 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6455, allocations: 12.03 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.6456, allocations: 20.75 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.6459, allocations: 243.5 kB / 1.024 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.6459, allocations: 12 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.6459, allocations: 12 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.6461, allocations: 89.59 kB / 1.024 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6461, allocations: 0 / 1.024 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6461, allocations: 4 kB / 1.024 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6461, allocations: 7.984 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.6463, allocations: 49.7 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.6471, allocations: 472.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.6475, allocations: 138.7 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.6476, allocations: 40.77 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.6476, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.648, allocations: 115.2 kB / 1.025 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.648, allocations: 0 / 1.025 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003513/0.6483, allocations: 169 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6484, allocations: 55.41 kB / 1.025 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.6486, allocations: 206.4 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.6486, allocations: 33.7 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.6487, allocations: 124.4 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.6488, allocations: 31.61 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.6489, allocations: 57.69 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.649, allocations: 330.8 kB / 1.026 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.6491, allocations: 31.98 kB / 1.026 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.6493, allocations: 128.7 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6495, allocations: 96.23 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6495, allocations: 0 / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002643/0.6497, allocations: 157.2 kB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6498, allocations: 8 kB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6498, allocations: 128 / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6498, allocations: 8 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.6499, allocations: 19.94 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.6499, allocations: 0 / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.6501, allocations: 31.81 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.6501, allocations: 8 kB / 1.026 GB, free: 9.832 MB / 0.7794 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.00013/0.6503, allocations: 135.5 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.6503, allocations: 19.75 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.6504, allocations: 29.86 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6504, allocations: 0 / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6504, allocations: 0 / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6504, allocations: 0 / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.6511, allocations: 498.1 kB / 1.027 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6511, allocations: 0 / 1.027 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.6511, allocations: 4 kB / 1.027 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6511, allocations: 4 kB / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.6512, allocations: 8 kB / 1.027 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.6512, allocations: 3.938 kB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6512, allocations: 0 / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.6514, allocations: 235.1 kB / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.6515, allocations: 92.86 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.6515, allocations: 3.984 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6516, allocations: 27.86 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.6517, allocations: 15.98 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.6517, allocations: 11.98 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001178/0.6519, allocations: 139.2 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6519, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003215/0.6522, allocations: 44 kB / 1.027 GB, free: 8.492 MB / 0.7794 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.0003375/0.6525, allocations: 166 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.6528, allocations: 123.2 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6528, allocations: 4.062 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.6529, allocations: 51.92 kB / 1.028 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.6534, allocations: 64.56 kB / 1.028 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.6539, allocations: 275.5 kB / 1.028 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.6542, allocations: 0.7318 MB / 1.029 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.544e-05/0.6543, allocations: 17.55 kB / 1.029 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.6543, allocations: 27.42 kB / 1.029 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6544, allocations: 0 / 1.029 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of Templates: time 0.008126/0.6625, allocations: 3.718 MB / 1.032 GB, free: 3.328 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches