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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.87/2.87, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.056e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003543/0.003574, allocations: 1.729 MB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.005425, allocations: 0.9006 MB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.005538, allocations: 3.938 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.005734, allocations: 27.73 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.006178, allocations: 127.3 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.006638, allocations: 153.4 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.007026, allocations: 251.3 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.007169, allocations: 29.78 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.007432, allocations: 143.7 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01663/0.02406, allocations: 1.99 MB / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.02418, allocations: 16 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.02434, allocations: 39.92 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.02444, allocations: 39.84 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.02459, allocations: 71.78 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.02515, allocations: 239.3 kB / 1.006 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.02515, allocations: 0 / 1.006 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.372e-06/0.02515, allocations: 4 kB / 1.006 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.02516, allocations: 0 / 1.006 GB, free: 2.09 MB / 0.9512 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.001121/0.02628, allocations: 496.6 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.02633, allocations: 12.03 kB / 1.006 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.02644, allocations: 20.8 kB / 1.006 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.02679, allocations: 189.8 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.02681, allocations: 8.375 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.02686, allocations: 19.94 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.0271, allocations: 115.4 kB / 1.007 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.02711, allocations: 0 / 1.007 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.02713, allocations: 4 kB / 1.007 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.02713, allocations: 0 / 1.007 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.02726, allocations: 55.91 kB / 1.007 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.02822, allocations: 464.2 kB / 1.007 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.02843, allocations: 89.14 kB / 1.007 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.0285, allocations: 33.77 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.02852, allocations: 4.188 kB / 1.007 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.02885, allocations: 127.2 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.02885, allocations: 0 / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004097/0.02926, allocations: 161.4 kB / 1.007 GB, free: 172 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.02935, allocations: 85.09 kB / 1.008 GB, free: 68 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.02963, allocations: 202.8 kB / 1.008 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.02967, allocations: 37.7 kB / 1.008 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.02979, allocations: 124.5 kB / 1.008 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.02983, allocations: 31.73 kB / 1.008 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.02994, allocations: 57.69 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.03011, allocations: 330.8 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.03018, allocations: 31.98 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.03057, allocations: 248.1 kB / 1.009 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.03075, allocations: 113.9 kB / 1.009 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.03076, allocations: 4 kB / 1.009 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003163/0.03107, allocations: 168.3 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.03109, allocations: 4 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.0311, allocations: 4 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.03112, allocations: 0 / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.03122, allocations: 19.98 kB / 1.009 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.03123, allocations: 12.09 kB / 1.009 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.03147, allocations: 27.88 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.03149, allocations: 12 kB / 1.009 GB, free: 14.55 MB / 0.9669 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.0001653/0.03165, allocations: 132.4 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.03169, allocations: 27.8 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.03174, allocations: 17.47 kB / 1.009 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.03175, allocations: 4 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.03175, allocations: 3.984 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03176, allocations: 0 / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.0324, allocations: 394 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03241, allocations: 0 / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.03244, allocations: 7.938 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.03244, allocations: 0 / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.03246, allocations: 8 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.03246, allocations: 0 / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.03246, allocations: 0 / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.03275, allocations: 228.2 kB / 1.01 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.03279, allocations: 23.86 kB / 1.01 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.03281, allocations: 3.984 kB / 1.01 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.03295, allocations: 19.92 kB / 1.01 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.03303, allocations: 19.97 kB / 1.01 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.03305, allocations: 8 kB / 1.01 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001588/0.03321, allocations: 142.7 kB / 1.01 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03321, allocations: 0 / 1.01 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000345/0.03356, allocations: 51.92 kB / 1.01 GB, free: 13.42 MB / 0.9669 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.000451/0.03401, allocations: 186.9 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.03429, allocations: 98.7 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03429, allocations: 4.062 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.0344, allocations: 43.92 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.03486, allocations: 56.69 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.03553, allocations: 283.5 kB / 1.011 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.03567, allocations: 116.3 kB / 1.011 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.03576, allocations: 25.62 kB / 1.011 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.03582, allocations: 20.5 kB / 1.011 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.03582, allocations: 0 / 1.011 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of Templates: time 0.00951/0.04534, allocations: 3.926 MB / 1.015 GB, free: 8.707 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.274090338498354]