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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001399/0.001399, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 68.39 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.346, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00433/0.3504, allocations: 1.901 MB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3524, allocations: 0.9474 MB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3525, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3528, allocations: 27.84 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.3533, allocations: 87.61 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3537, allocations: 147.8 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.3542, allocations: 227.4 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3544, allocations: 33.66 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3546, allocations: 107.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02666/0.3813, allocations: 1.824 MB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3814, allocations: 16 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3816, allocations: 31.98 kB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.3817, allocations: 31.84 kB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3819, allocations: 87.55 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.3824, allocations: 203.4 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3824, allocations: 0 / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3824, allocations: 0 / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.3824, allocations: 0 / 1.073 GB, free: 5.68 MB / 0.8262 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.001146/0.3836, allocations: 0.5566 MB / 1.074 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3836, allocations: 12.03 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3837, allocations: 20.66 kB / 1.074 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.3841, allocations: 243.5 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.3842, allocations: 15.98 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3842, allocations: 19.94 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3845, allocations: 107.3 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3845, allocations: 8 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3845, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3845, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3847, allocations: 55.97 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3857, allocations: 0.5279 MB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3859, allocations: 97.06 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.386, allocations: 41.77 kB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.386, allocations: 8 kB / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.3863, allocations: 137.1 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.3863, allocations: 0 / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005054/0.3868, allocations: 161.4 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.3869, allocations: 81.11 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.3872, allocations: 212.5 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.3873, allocations: 33.7 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3874, allocations: 116.5 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3875, allocations: 31.55 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3876, allocations: 61.67 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3878, allocations: 330.8 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.3879, allocations: 31.98 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.3882, allocations: 144.3 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3884, allocations: 111.3 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3884, allocations: 3.938 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003772/0.3888, allocations: 159 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3888, allocations: 11.94 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3888, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3888, allocations: 4 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.3889, allocations: 20.08 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.389, allocations: 8 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3892, allocations: 27.83 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3892, allocations: 8 kB / 1.076 GB, free: 1.992 MB / 0.8262 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.0001602/0.3894, allocations: 143.5 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3895, allocations: 19.81 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3895, allocations: 21.53 kB / 1.077 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3895, allocations: 0 / 1.077 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3895, allocations: 4 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3895, allocations: 7.984 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.3902, allocations: 454.2 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3902, allocations: 0 / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.3902, allocations: 15.92 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.3903, allocations: 4 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3903, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3903, allocations: 7.938 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3903, allocations: 0 / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3906, allocations: 228.1 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.3906, allocations: 96.86 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3907, allocations: 4 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3908, allocations: 15.92 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3909, allocations: 23.97 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3909, allocations: 7.984 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001353/0.3911, allocations: 143.2 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.367e-06/0.3911, allocations: 0 / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003416/0.3914, allocations: 47.94 kB / 1.078 GB, free: 0.6641 MB / 0.8262 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.0005225/0.3919, allocations: 173.9 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3922, allocations: 103.8 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3922, allocations: 4.312 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3923, allocations: 51.97 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.3928, allocations: 47.73 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.3935, allocations: 340.5 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3938, allocations: 0.7206 MB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.3939, allocations: 21.53 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.394, allocations: 23.42 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of SimCode: time 1.8e-07/0.394, allocations: 0 / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.00815/0.4021, allocations: 3.438 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) 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) Reference file matches