Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001129/0.001129, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 390.3 MB / 0.6655 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.8 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2319, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002856/0.2348, allocations: 1.735 MB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2361, allocations: 0.9085 MB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.2362, allocations: 3.938 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.2364, allocations: 27.73 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2368, allocations: 119.4 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2371, allocations: 155.2 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2374, allocations: 243.4 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2375, allocations: 37.58 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2377, allocations: 115.6 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.2488, allocations: 2.022 MB / 0.9563 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.2488, allocations: 16 kB / 0.9563 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.2489, allocations: 36 kB / 0.9564 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.249, allocations: 51.7 kB / 0.9564 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2491, allocations: 87.56 kB / 0.9565 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.2495, allocations: 215.4 kB / 0.9567 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2495, allocations: 4 kB / 0.9567 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2495, allocations: 0 / 0.9567 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2495, allocations: 0 / 0.9567 GB, free: 2.773 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007286/0.2502, allocations: 0.5526 MB / 0.9573 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.2503, allocations: 12.03 kB / 0.9573 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.2503, allocations: 16.75 kB / 0.9573 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2506, allocations: 251.5 kB / 0.9575 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2506, allocations: 8 kB / 0.9575 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.2507, allocations: 12 kB / 0.9575 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.2508, allocations: 95.31 kB / 0.9576 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2508, allocations: 0 / 0.9576 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2509, allocations: 3.984 kB / 0.9576 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2509, allocations: 4 kB / 0.9576 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.251, allocations: 51.97 kB / 0.9577 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.2517, allocations: 468.4 kB / 0.9581 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.252, allocations: 134.8 kB / 0.9583 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.2521, allocations: 36.84 kB / 0.9583 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2521, allocations: 3.938 kB / 0.9583 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2523, allocations: 119.1 kB / 0.9584 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2523, allocations: 4 kB / 0.9584 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0002916/0.2526, allocations: 160.1 kB / 0.9586 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2527, allocations: 63.34 kB / 0.9586 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2528, allocations: 198.5 kB / 0.9588 GB, free: 412 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2529, allocations: 33.7 kB / 0.9589 GB, free: 372 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.253, allocations: 116.5 kB / 0.959 GB, free: 248 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.253, allocations: 43.53 kB / 0.959 GB, free: 204 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.2531, allocations: 49.69 kB / 0.9591 GB, free: 148 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2532, allocations: 334.8 kB / 0.9594 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.2533, allocations: 39.98 kB / 0.9594 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2535, allocations: 124.9 kB / 0.9595 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.2536, allocations: 96.23 kB / 0.9596 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2536, allocations: 0 / 0.9596 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002339/0.2539, allocations: 163 kB / 0.9598 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2539, allocations: 8 kB / 0.9598 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2539, allocations: 0 / 0.9598 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2539, allocations: 7.938 kB / 0.9598 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.254, allocations: 11.94 kB / 0.9598 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.254, allocations: 8.109 kB / 0.9598 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2542, allocations: 35.81 kB / 0.9599 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2542, allocations: 4 kB / 0.9599 GB, free: 15.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001183/0.2543, allocations: 135.5 kB / 0.96 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2544, allocations: 19.81 kB / 0.96 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.2544, allocations: 17.86 kB / 0.96 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2544, allocations: 4 kB / 0.96 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2544, allocations: 0 / 0.96 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2544, allocations: 4 kB / 0.96 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.2551, allocations: 494.1 kB / 0.9605 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2551, allocations: 3.938 kB / 0.9605 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.2551, allocations: 11.94 kB / 0.9605 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2551, allocations: 0 / 0.9605 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2551, allocations: 0 / 0.9605 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.2551, allocations: 7.938 kB / 0.9605 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2551, allocations: 0 / 0.9605 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.2554, allocations: 237.6 kB / 0.9608 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.2554, allocations: 96.95 kB / 0.9608 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2554, allocations: 4 kB / 0.9608 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2556, allocations: 19.91 kB / 0.9609 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.2556, allocations: 23.92 kB / 0.9609 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.2557, allocations: 7.984 kB / 0.9609 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001113/0.2558, allocations: 140.5 kB / 0.961 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2558, allocations: 4 kB / 0.961 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002768/0.2561, allocations: 44 kB / 0.9611 GB, free: 13.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0002715/0.2564, allocations: 166.2 kB / 0.9612 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2566, allocations: 95.91 kB / 0.9613 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2566, allocations: 0 / 0.9613 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.2567, allocations: 55.91 kB / 0.9614 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.257, allocations: 50.97 kB / 0.9614 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.2575, allocations: 287.3 kB / 0.9617 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2577, allocations: 0.7242 MB / 0.9624 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.2578, allocations: 33.52 kB / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.2578, allocations: 23.42 kB / 0.9625 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.2579, allocations: 0 / 0.9625 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of Templates: time 0.006593/0.2645, allocations: 3.719 MB / 0.9661 GB, free: 8.797 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches