Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.002132/0.002132, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.1 MB / 0.7177 GB, free: 4.477 MB / 0.5606 GB " [Timeout remaining time 177] 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 151.6 MB / 1.176 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003174/0.2964, allocations: 1.736 MB / 1.178 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.298, allocations: 0.9084 MB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.2981, allocations: 4 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.2983, allocations: 27.73 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.2987, allocations: 123.4 kB / 1.179 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.2991, allocations: 159.6 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.2994, allocations: 231.4 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2995, allocations: 45.66 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.2997, allocations: 111.7 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0159/0.3156, allocations: 1.989 MB / 1.181 GB, free: 1.195 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.3157, allocations: 16 kB / 1.181 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3159, allocations: 39.98 kB / 1.181 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.316, allocations: 39.84 kB / 1.181 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.3162, allocations: 95.55 kB / 1.181 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.3166, allocations: 219.1 kB / 1.181 GB, free: 0.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3166, allocations: 0 / 1.181 GB, free: 0.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3166, allocations: 0 / 1.181 GB, free: 0.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3166, allocations: 4 kB / 1.181 GB, free: 0.7891 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009506/0.3176, allocations: 0.5565 MB / 1.182 GB, free: 176 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3176, allocations: 8.031 kB / 1.182 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.3177, allocations: 20.84 kB / 1.182 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.3181, allocations: 252.4 kB / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3181, allocations: 15.88 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.3182, allocations: 20 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3184, allocations: 107.4 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3184, allocations: 0 / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3185, allocations: 7.938 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3185, allocations: 4 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3186, allocations: 51.97 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.3195, allocations: 0.5435 MB / 1.183 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3197, allocations: 97.25 kB / 1.183 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.3198, allocations: 45.78 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3198, allocations: 3.984 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.3202, allocations: 124.2 kB / 1.183 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.3202, allocations: 0 / 1.183 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003732/0.3205, allocations: 161.5 kB / 1.183 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3206, allocations: 85.23 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3208, allocations: 206.5 kB / 1.184 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3209, allocations: 29.7 kB / 1.184 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.321, allocations: 124.5 kB / 1.184 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.321, allocations: 39.67 kB / 1.184 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3212, allocations: 57.67 kB / 1.184 GB, free: 14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3213, allocations: 330.8 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.3214, allocations: 27.98 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3217, allocations: 143.4 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3218, allocations: 117.4 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3219, allocations: 4 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002654/0.3221, allocations: 157.4 kB / 1.185 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3221, allocations: 7.984 kB / 1.185 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3222, allocations: 4.156 kB / 1.185 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3222, allocations: 4 kB / 1.185 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.3223, allocations: 19.88 kB / 1.185 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3223, allocations: 7.984 kB / 1.185 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3225, allocations: 31.86 kB / 1.185 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3226, allocations: 8 kB / 1.185 GB, free: 13.09 MB / 0.9356 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.0001388/0.3227, allocations: 139.5 kB / 1.185 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3227, allocations: 15.91 kB / 1.185 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.3228, allocations: 25.61 kB / 1.185 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3228, allocations: 7.984 kB / 1.185 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3228, allocations: 4 kB / 1.185 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3228, allocations: 0 / 1.185 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.3235, allocations: 462.3 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3235, allocations: 3.938 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.3235, allocations: 4 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3235, allocations: 0 / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3235, allocations: 8 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.3236, allocations: 11.92 kB / 1.185 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3236, allocations: 0 / 1.185 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3238, allocations: 232.1 kB / 1.186 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3239, allocations: 93 kB / 1.186 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3239, allocations: 0 / 1.186 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3241, allocations: 23.92 kB / 1.186 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.3242, allocations: 19.97 kB / 1.186 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3242, allocations: 8 kB / 1.186 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001357/0.3243, allocations: 139.2 kB / 1.186 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3243, allocations: 0 / 1.186 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003148/0.3247, allocations: 47.89 kB / 1.186 GB, free: 11.76 MB / 0.9356 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.0003959/0.3251, allocations: 163.3 kB / 1.186 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.3253, allocations: 107.7 kB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3253, allocations: 4.062 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3255, allocations: 59.84 kB / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3259, allocations: 53.94 kB / 1.186 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.3265, allocations: 324.8 kB / 1.187 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3269, allocations: 0.7243 MB / 1.187 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3269, allocations: 23.44 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.327, allocations: 4 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.005908/0.3329, allocations: 3.207 MB / 1.19 GB, free: 7.09 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 11.183706654934213]