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.001138/0.001138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001285/0.001285, allocations: 197.6 kB / 16.26 MB, free: 6.625 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 65.27 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003546/0.3601, allocations: 1.897 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3616, allocations: 0.9358 MB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.3617, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3619, allocations: 19.86 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.3622, allocations: 103.6 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3625, allocations: 135.8 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.3628, allocations: 251.3 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.363, allocations: 41.64 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3631, allocations: 111.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02515/0.3883, allocations: 1.984 MB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.518e-05/0.3884, allocations: 20 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3885, allocations: 40 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.3886, allocations: 35.84 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3887, allocations: 95.55 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.389, allocations: 207.4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.389, allocations: 4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3891, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3891, allocations: 0 / 1.073 GB, free: 5.418 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.0007996/0.3899, allocations: 0.5565 MB / 1.074 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3899, allocations: 8.031 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.39, allocations: 24.66 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3903, allocations: 243.5 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3903, allocations: 8 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3903, allocations: 15.94 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3906, allocations: 115.3 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3906, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3906, allocations: 12 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3906, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3908, allocations: 55.95 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.3917, allocations: 0.5357 MB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3919, allocations: 97.06 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.3919, allocations: 33.78 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.392, allocations: 7.984 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3922, allocations: 139.8 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.3922, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003487/0.3926, allocations: 162.6 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3926, allocations: 85.11 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3928, allocations: 200.3 kB / 1.076 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3929, allocations: 37.83 kB / 1.076 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.393, allocations: 120.5 kB / 1.076 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/0.393, allocations: 35.55 kB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.3931, allocations: 57.67 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3932, allocations: 326.8 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.3933, allocations: 31.98 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3936, allocations: 141.3 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3937, allocations: 127.5 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3937, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002422/0.394, allocations: 161.3 kB / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.394, allocations: 4 kB / 1.077 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.394, allocations: 4 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.394, allocations: 4 kB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.3941, allocations: 15.94 kB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3941, allocations: 160 / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3944, allocations: 35.81 kB / 1.077 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3944, allocations: 8 kB / 1.077 GB, free: 1.73 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.0001248/0.3945, allocations: 139.5 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3945, allocations: 15.81 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.3946, allocations: 21.52 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3946, allocations: 4 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3946, allocations: 0 / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3946, allocations: 4 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.3952, allocations: 462.2 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3952, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.3952, allocations: 7.938 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3952, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3953, allocations: 8 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3953, allocations: 7.922 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3953, allocations: 4 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3955, allocations: 223.6 kB / 1.078 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3955, allocations: 104.8 kB / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3956, allocations: 4 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3957, allocations: 19.92 kB / 1.078 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.3958, allocations: 19.97 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3958, allocations: 8 kB / 1.078 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3959, allocations: 139.2 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.272e-06/0.3959, allocations: 0 / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002966/0.3962, allocations: 51.94 kB / 1.078 GB, free: 420 kB / 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.0003024/0.3966, allocations: 165 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3968, allocations: 107.8 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3968, allocations: 4 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.3969, allocations: 52.23 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3973, allocations: 68.3 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.3979, allocations: 332.3 kB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3982, allocations: 0.7242 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.587e-05/0.3983, allocations: 21.53 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.3983, allocations: 23.42 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3983, allocations: 4 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.007338/0.4057, allocations: 3.542 MB / 1.083 GB, free: 11.38 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