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.001169/0.001169, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001154/0.001154, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.326/2.326, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7084, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002968/0.7114, allocations: 1.736 MB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.7129, allocations: 0.9085 MB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.713, allocations: 3.938 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.7132, allocations: 31.67 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.7136, allocations: 127.4 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.7139, allocations: 149 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.7142, allocations: 247.4 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.7144, allocations: 33.66 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.7145, allocations: 119.6 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0156/0.7301, allocations: 2.021 MB / 1.173 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.575e-05/0.7302, allocations: 20 kB / 1.173 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.7304, allocations: 35.98 kB / 1.173 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.7305, allocations: 39.83 kB / 1.173 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.7306, allocations: 99.5 kB / 1.173 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.7311, allocations: 216.2 kB / 1.173 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.7311, allocations: 0 / 1.173 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7311, allocations: 3.938 kB / 1.173 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.7311, allocations: 0 / 1.173 GB, free: 14.58 MB / 0.9044 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.0009417/0.7321, allocations: 0.5565 MB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7321, allocations: 8.922 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.7322, allocations: 24.83 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.7326, allocations: 248.1 kB / 1.174 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.7326, allocations: 8 kB / 1.174 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.7326, allocations: 16 kB / 1.174 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.7329, allocations: 91.88 kB / 1.174 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7329, allocations: 0 / 1.174 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7329, allocations: 8 kB / 1.174 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7329, allocations: 0 / 1.174 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.733, allocations: 55.91 kB / 1.174 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.7339, allocations: 464.4 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.7343, allocations: 138.7 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.7344, allocations: 44.72 kB / 1.175 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.7345, allocations: 4 kB / 1.175 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.7347, allocations: 118.7 kB / 1.175 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.7348, allocations: 0 / 1.175 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003698/0.7351, allocations: 161.5 kB / 1.175 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7352, allocations: 59.39 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.7354, allocations: 200 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.7355, allocations: 33.7 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.7356, allocations: 124.5 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.7356, allocations: 35.73 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.7357, allocations: 61.67 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7359, allocations: 326.8 kB / 1.176 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.736, allocations: 31.98 kB / 1.176 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.7362, allocations: 136.7 kB / 1.176 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.7364, allocations: 100.2 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7364, allocations: 0 / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002494/0.7366, allocations: 159.7 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7367, allocations: 4 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.7367, allocations: 4.125 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7367, allocations: 4 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.7368, allocations: 19.98 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.7368, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.737, allocations: 23.94 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.737, allocations: 8 kB / 1.176 GB, free: 11.08 MB / 0.9044 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.0001422/0.7371, allocations: 147.4 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.7372, allocations: 15.91 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.7372, allocations: 21.88 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.7372, allocations: 4.031 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7373, allocations: 4 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.7373, allocations: 7.922 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.7379, allocations: 494.1 kB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.738, allocations: 0 / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.738, allocations: 7.938 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.738, allocations: 4 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.738, allocations: 11.98 kB / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.738, allocations: 3.938 kB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.738, allocations: 0 / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.7383, allocations: 230.5 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.7384, allocations: 92.95 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.7384, allocations: 8 kB / 1.177 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7385, allocations: 15.92 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.7386, allocations: 19.97 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.7386, allocations: 12 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001377/0.7388, allocations: 135.2 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7388, allocations: 0 / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002997/0.7391, allocations: 55.88 kB / 1.177 GB, free: 9.715 MB / 0.9044 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.0004022/0.7395, allocations: 175.6 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.7397, allocations: 96.03 kB / 1.178 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7397, allocations: 4.062 kB / 1.178 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.7398, allocations: 59.86 kB / 1.178 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.7402, allocations: 47.95 kB / 1.178 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.7408, allocations: 287.1 kB / 1.178 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.7411, allocations: 0.7203 MB / 1.179 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.065e-05/0.7412, allocations: 25.52 kB / 1.179 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.7413, allocations: 19.44 kB / 1.179 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7413, allocations: 0 / 1.179 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of Templates: time 0.007673/0.749, allocations: 3.744 MB / 1.182 GB, free: 4.566 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches