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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 192.2 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.88 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.7996, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003293/0.8029, allocations: 1.753 MB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.8046, allocations: 0.9267 MB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.8047, allocations: 5.031 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.8049, allocations: 30.67 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.8054, allocations: 125.6 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.8058, allocations: 160.2 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.8061, allocations: 241.9 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.8063, allocations: 27.11 kB / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.8064, allocations: 121.8 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01654/0.823, allocations: 2.035 MB / 1.224 GB, free: 332 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.8231, allocations: 17.75 kB / 1.224 GB, free: 332 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.8232, allocations: 32.25 kB / 1.224 GB, free: 328 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.8233, allocations: 43.41 kB / 1.224 GB, free: 292 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.8235, allocations: 97.64 kB / 1.224 GB, free: 216 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.824, allocations: 217.3 kB / 1.224 GB, free: 60 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.824, allocations: 1.031 kB / 1.224 GB, free: 60 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.824, allocations: 0 / 1.224 GB, free: 60 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.824, allocations: 4 kB / 1.224 GB, free: 56 kB / 0.92 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.001039/0.8251, allocations: 0.5584 MB / 1.225 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.8251, allocations: 8.719 kB / 1.225 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.8252, allocations: 20.44 kB / 1.225 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.8256, allocations: 238.8 kB / 1.225 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.8256, allocations: 14.64 kB / 1.225 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.8256, allocations: 22.19 kB / 1.225 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.8258, allocations: 86.08 kB / 1.225 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8258, allocations: 1.438 kB / 1.225 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8258, allocations: 4 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8258, allocations: 2.406 kB / 1.225 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.826, allocations: 56.2 kB / 1.225 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.8268, allocations: 469.9 kB / 1.226 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.8273, allocations: 131.9 kB / 1.226 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.8273, allocations: 35.41 kB / 1.226 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.8274, allocations: 1.188 kB / 1.226 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.8276, allocations: 111.2 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.8276, allocations: 0.9688 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003707/0.828, allocations: 169.8 kB / 1.226 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.828, allocations: 62 kB / 1.226 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.8283, allocations: 192.5 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.8283, allocations: 42.16 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.8284, allocations: 121.4 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.8285, allocations: 33.61 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.8286, allocations: 60.11 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8287, allocations: 331.2 kB / 1.227 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.8288, allocations: 31.83 kB / 1.227 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.8291, allocations: 130.7 kB / 1.227 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.8292, allocations: 97 kB / 1.227 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8292, allocations: 1.406 kB / 1.227 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002646/0.8295, allocations: 162.6 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8295, allocations: 5.125 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8295, allocations: 1.656 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8295, allocations: 2.281 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.8296, allocations: 24.05 kB / 1.227 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8296, allocations: 1.344 kB / 1.227 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.8298, allocations: 23.69 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.8298, allocations: 13.59 kB / 1.227 GB, free: 13.34 MB / 0.9356 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.0001441/0.83, allocations: 143.8 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.83, allocations: 16 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.8301, allocations: 26.08 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8301, allocations: 1.125 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8301, allocations: 1.125 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8301, allocations: 0 / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.8308, allocations: 0.4928 MB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8309, allocations: 1.188 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.8309, allocations: 6.359 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8309, allocations: 1.094 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.8309, allocations: 6.438 kB / 1.228 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8309, allocations: 3.938 kB / 1.228 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8309, allocations: 0 / 1.228 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.8312, allocations: 236 kB / 1.228 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.8312, allocations: 93.14 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.8313, allocations: 5.312 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.8314, allocations: 14.58 kB / 1.228 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8315, allocations: 22.81 kB / 1.228 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.8315, allocations: 10.8 kB / 1.228 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001484/0.8317, allocations: 146.1 kB / 1.228 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8317, allocations: 0 / 1.228 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003388/0.832, allocations: 51.11 kB / 1.228 GB, free: 12.27 MB / 0.9356 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.0004149/0.8324, allocations: 177.8 kB / 1.229 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.8327, allocations: 102.1 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8327, allocations: 1.562 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.8328, allocations: 44.42 kB / 1.229 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.8332, allocations: 51.48 kB / 1.229 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.8339, allocations: 300.2 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.8343, allocations: 0.7249 MB / 1.23 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.313e-05/0.8344, allocations: 23.03 kB / 1.23 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.8345, allocations: 28.67 kB / 1.23 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8345, allocations: 0 / 1.23 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.009074/0.8436, allocations: 3.793 MB / 1.234 GB, free: 7.891 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.698049888014793]