Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 106.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.102/3.102, allocations: 489.7 MB / 0.7761 GB, free: 33.59 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=514,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=514,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.59 kB / 1.127 GB, free: 36.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4038, allocations: 172.1 MB / 1.295 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003249/0.407, allocations: 1.752 MB / 1.297 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4087, allocations: 0.9124 MB / 1.297 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.4088, allocations: 0 / 1.297 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.409, allocations: 27.73 kB / 1.297 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.4093, allocations: 123.4 kB / 1.298 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.4097, allocations: 148.6 kB / 1.298 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.41, allocations: 247.4 kB / 1.298 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4101, allocations: 29.61 kB / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.4103, allocations: 115.7 kB / 1.298 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01561/0.4259, allocations: 1.997 MB / 1.3 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.061e-05/0.426, allocations: 20 kB / 1.3 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4261, allocations: 40 kB / 1.3 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.4262, allocations: 39.83 kB / 1.3 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.4263, allocations: 91.5 kB / 1.3 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.4268, allocations: 219.1 kB / 1.3 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4268, allocations: 0 / 1.3 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4268, allocations: 0 / 1.3 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4268, allocations: 0 / 1.3 GB, free: 6.504 MB / 0.9981 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.0009548/0.4278, allocations: 0.5604 MB / 1.301 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4278, allocations: 8.031 kB / 1.301 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.4279, allocations: 28.73 kB / 1.301 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.4284, allocations: 251.5 kB / 1.301 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.4284, allocations: 8 kB / 1.301 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.4284, allocations: 12 kB / 1.301 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4286, allocations: 113.6 kB / 1.301 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4286, allocations: 11.92 kB / 1.301 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4287, allocations: 4 kB / 1.301 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4287, allocations: 4 kB / 1.301 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4288, allocations: 51.95 kB / 1.301 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.4297, allocations: 0.5435 MB / 1.302 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4299, allocations: 89.25 kB / 1.302 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.4299, allocations: 41.77 kB / 1.302 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.43, allocations: 0 / 1.302 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.4302, allocations: 121 kB / 1.302 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.4302, allocations: 0 / 1.302 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003607/0.4306, allocations: 165.5 kB / 1.302 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.4307, allocations: 81.11 kB / 1.302 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4309, allocations: 202.1 kB / 1.303 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4309, allocations: 33.7 kB / 1.303 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.431, allocations: 136.6 kB / 1.303 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.4311, allocations: 31.73 kB / 1.303 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.4312, allocations: 61.67 kB / 1.303 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4314, allocations: 326.8 kB / 1.303 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.4315, allocations: 31.98 kB / 1.303 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.4317, allocations: 142.3 kB / 1.303 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4319, allocations: 117.9 kB / 1.304 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4319, allocations: 0 / 1.304 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000262/0.4321, allocations: 172.6 kB / 1.304 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4322, allocations: 9.094 kB / 1.304 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4322, allocations: 0 / 1.304 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4322, allocations: 4 kB / 1.304 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.4323, allocations: 15.94 kB / 1.304 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4323, allocations: 0 / 1.304 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.4325, allocations: 36.02 kB / 1.304 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4325, allocations: 8 kB / 1.304 GB, free: 2.809 MB / 0.9981 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.0001368/0.4327, allocations: 139.5 kB / 1.304 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.4327, allocations: 15.91 kB / 1.304 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.4327, allocations: 21.52 kB / 1.304 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4327, allocations: 4 kB / 1.304 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4327, allocations: 0 / 1.304 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4328, allocations: 0 / 1.304 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.4334, allocations: 466.4 kB / 1.304 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4334, allocations: 0 / 1.304 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.4334, allocations: 7.984 kB / 1.304 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4334, allocations: 0 / 1.304 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4335, allocations: 11.98 kB / 1.304 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.4335, allocations: 3.938 kB / 1.304 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4335, allocations: 0 / 1.304 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.4337, allocations: 236.1 kB / 1.305 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.4338, allocations: 93 kB / 1.305 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.4338, allocations: 4 kB / 1.305 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.434, allocations: 15.92 kB / 1.305 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.434, allocations: 23.97 kB / 1.305 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.434, allocations: 4 kB / 1.305 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4342, allocations: 147.3 kB / 1.305 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4342, allocations: 4 kB / 1.305 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000304/0.4345, allocations: 39.94 kB / 1.305 GB, free: 1.488 MB / 0.9981 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.0003923/0.4349, allocations: 183.5 kB / 1.305 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4351, allocations: 103.3 kB / 1.305 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4351, allocations: 0 / 1.305 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4352, allocations: 43.92 kB / 1.305 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.4356, allocations: 62.84 kB / 1.305 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.4362, allocations: 321.6 kB / 1.306 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4366, allocations: 0.7281 MB / 1.306 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.4367, allocations: 23.42 kB / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4367, allocations: 0 / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of Templates: time 0.00591/0.4426, allocations: 3.207 MB / 1.309 GB, free: 12.81 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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