Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001349/0.001349, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00162/0.00162, allocations: 188.1 kB / 22.22 MB, free: 5.102 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.25 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.57/2.57, allocations: 443.4 MB / 0.7321 GB, free: 12.29 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002952/0.002952, allocations: 67.89 kB / 1.061 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7451, allocations: 160.8 MB / 1.218 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002949/0.7481, allocations: 1.648 MB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.7492, allocations: 0.5834 MB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.7492, allocations: 4.969 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.7494, allocations: 27 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.7498, allocations: 117 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.7501, allocations: 152.3 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.7504, allocations: 223.5 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.7505, allocations: 17.05 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.7507, allocations: 101.9 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.7633, allocations: 1.583 MB / 1.223 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.7634, allocations: 16.44 kB / 1.223 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.7635, allocations: 38.33 kB / 1.223 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.7636, allocations: 34.44 kB / 1.223 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.7637, allocations: 86.59 kB / 1.223 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.7641, allocations: 191.5 kB / 1.223 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7641, allocations: 0.9375 kB / 1.223 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7641, allocations: 0 / 1.223 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.7641, allocations: 0 / 1.223 GB, free: 0.7422 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008053/0.7649, allocations: 0.5368 MB / 1.224 GB, free: 212 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.765, allocations: 8.781 kB / 1.224 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.765, allocations: 22.94 kB / 1.224 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.7654, allocations: 230.4 kB / 1.224 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7654, allocations: 13.94 kB / 1.224 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.7654, allocations: 12.72 kB / 1.224 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.7656, allocations: 89.48 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7656, allocations: 0.9375 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7656, allocations: 1.094 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7656, allocations: 1.094 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.7657, allocations: 44.44 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.7666, allocations: 446 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.7668, allocations: 56.91 kB / 1.225 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.7668, allocations: 28.22 kB / 1.225 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.7668, allocations: 9.109 kB / 1.225 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.767, allocations: 87.06 kB / 1.225 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.767, allocations: 1.188 kB / 1.225 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0003057/0.7674, allocations: 138.3 kB / 1.225 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.7674, allocations: 53.59 kB / 1.225 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.7676, allocations: 190.1 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.7676, allocations: 30.05 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.7677, allocations: 128.8 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.7678, allocations: 27.92 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/0.7679, allocations: 49.88 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.768, allocations: 326.1 kB / 1.226 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.7681, allocations: 23.41 kB / 1.226 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.7683, allocations: 124.4 kB / 1.226 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.7684, allocations: 93.91 kB / 1.226 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7684, allocations: 1.281 kB / 1.226 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002234/0.7686, allocations: 132.6 kB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7687, allocations: 5.812 kB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7687, allocations: 9 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7687, allocations: 2.938 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.7688, allocations: 9.188 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7688, allocations: 2.219 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.769, allocations: 26.28 kB / 1.226 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.769, allocations: 8.281 kB / 1.226 GB, free: 14.17 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001717/0.7691, allocations: 144 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.7692, allocations: 15.16 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.7692, allocations: 21.28 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7692, allocations: 1.062 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7692, allocations: 1.125 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7692, allocations: 0 / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.7698, allocations: 438.8 kB / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7698, allocations: 0 / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.7698, allocations: 2.719 kB / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7698, allocations: 4.906 kB / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.7698, allocations: 9.516 kB / 1.227 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7698, allocations: 0 / 1.227 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7698, allocations: 1.156 kB / 1.227 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.77, allocations: 206.9 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.7701, allocations: 84.47 kB / 1.227 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.7701, allocations: 5.438 kB / 1.227 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.7702, allocations: 11.98 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.7703, allocations: 13.7 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.7703, allocations: 8.766 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001314/0.7705, allocations: 139.5 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7705, allocations: 0 / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003205/0.7708, allocations: 51.41 kB / 1.227 GB, free: 13.16 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000379/0.7712, allocations: 160.3 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.7714, allocations: 78.31 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7714, allocations: 4.25 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.7714, allocations: 29.97 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.7718, allocations: 58.73 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.7724, allocations: 271.2 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7728, allocations: 0.724 MB / 1.228 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.7729, allocations: 24.88 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.7729, allocations: 18.38 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of SimCode: time 4.5e-07/0.7729, allocations: 0 / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of Templates: time 0.008283/0.7812, allocations: 3.33 MB / 1.232 GB, free: 9.797 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.605457494035363]