Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.2 kB / 16.27 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 190.2 kB / 17.2 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.84 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2776, allocations: 140.4 MB / 0.9503 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003343/0.281, allocations: 1.729 MB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2827, allocations: 0.9124 MB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2828, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.283, allocations: 27.67 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.2834, allocations: 123.4 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2838, allocations: 151.7 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2841, allocations: 239.3 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2843, allocations: 49.64 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.2845, allocations: 111.7 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009611/0.2941, allocations: 1.648 MB / 0.9551 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.2942, allocations: 16 kB / 0.9551 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2943, allocations: 36 kB / 0.9552 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.2944, allocations: 35.84 kB / 0.9552 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.2945, allocations: 95.55 kB / 0.9553 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2949, allocations: 223.3 kB / 0.9555 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2949, allocations: 3.938 kB / 0.9555 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2949, allocations: 0 / 0.9555 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2949, allocations: 0 / 0.9555 GB, free: 3.953 MB / 0.7325 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.0007703/0.2957, allocations: 0.5489 MB / 0.956 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2957, allocations: 8.031 kB / 0.9561 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.2958, allocations: 24.75 kB / 0.9561 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2961, allocations: 247.4 kB / 0.9563 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2961, allocations: 12 kB / 0.9563 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.2962, allocations: 12 kB / 0.9563 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.2964, allocations: 111.4 kB / 0.9564 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2964, allocations: 0 / 0.9564 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2964, allocations: 4 kB / 0.9564 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2964, allocations: 4 kB / 0.9564 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2965, allocations: 58.19 kB / 0.9565 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.2973, allocations: 0.5396 MB / 0.957 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2975, allocations: 101 kB / 0.9571 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.2976, allocations: 37.78 kB / 0.9572 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2976, allocations: 4 kB / 0.9572 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.2979, allocations: 133 kB / 0.9573 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2979, allocations: 3.938 kB / 0.9573 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003211/0.2982, allocations: 165.6 kB / 0.9575 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.2983, allocations: 77.11 kB / 0.9575 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2984, allocations: 202.5 kB / 0.9577 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2985, allocations: 33.7 kB / 0.9578 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.2986, allocations: 124.4 kB / 0.9579 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2986, allocations: 39.75 kB / 0.9579 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.2987, allocations: 57.67 kB / 0.958 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2988, allocations: 322.8 kB / 0.9583 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.2989, allocations: 35.98 kB / 0.9583 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2991, allocations: 142.8 kB / 0.9584 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2993, allocations: 109.7 kB / 0.9585 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2993, allocations: 0 / 0.9585 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002424/0.2995, allocations: 165.3 kB / 0.9587 GB, free: 356 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2995, allocations: 11.98 kB / 0.9587 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2995, allocations: 3.938 kB / 0.9587 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2996, allocations: 4 kB / 0.9587 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.2997, allocations: 12 kB / 0.9587 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2997, allocations: 4 kB / 0.9587 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.2999, allocations: 31.81 kB / 0.9588 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3, allocations: 8.156 kB / 0.9588 GB, free: 280 kB / 0.7325 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.0001271/0.3001, allocations: 145.4 kB / 0.9589 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.3001, allocations: 15.81 kB / 0.9589 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.3002, allocations: 25.52 kB / 0.959 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3002, allocations: 0 / 0.959 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3002, allocations: 4 kB / 0.959 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3002, allocations: 0 / 0.959 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.3008, allocations: 470.1 kB / 0.9594 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3008, allocations: 4 kB / 0.9594 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.3008, allocations: 3.938 kB / 0.9594 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3008, allocations: 4 kB / 0.9594 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3008, allocations: 4 kB / 0.9594 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3009, allocations: 3.938 kB / 0.9594 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3009, allocations: 4 kB / 0.9594 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3011, allocations: 232.1 kB / 0.9597 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.3011, allocations: 92.86 kB / 0.9597 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3012, allocations: 3.984 kB / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3013, allocations: 19.92 kB / 0.9598 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3014, allocations: 15.98 kB / 0.9598 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3014, allocations: 15.92 kB / 0.9598 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000129/0.3016, allocations: 140.5 kB / 0.9599 GB, free: 15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3016, allocations: 4 kB / 0.9599 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003208/0.3019, allocations: 44 kB / 0.96 GB, free: 14.95 MB / 0.7481 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.0003216/0.3022, allocations: 167 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3025, allocations: 118.6 kB / 0.9602 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3025, allocations: 0 / 0.9602 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.3026, allocations: 51.92 kB / 0.9603 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.303, allocations: 64.05 kB / 0.9604 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.3036, allocations: 337.8 kB / 0.9607 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3039, allocations: 0.7281 MB / 0.9614 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.304, allocations: 19.44 kB / 0.9614 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.304, allocations: 0 / 0.9614 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of Templates: time 0.005034/0.309, allocations: 3.196 MB / 0.9645 GB, free: 10.25 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches