Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.001413/0.001413, allocations: 102.2 kB / 16.27 MB, free: 6 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.001437/0.001437, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.332/2.332, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.94 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2735, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003225/0.2768, allocations: 1.72 MB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2786, allocations: 0.9085 MB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.2787, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.2789, allocations: 31.61 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.2794, allocations: 119.4 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.2798, allocations: 159.7 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.2801, allocations: 239.3 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.2803, allocations: 37.66 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.2804, allocations: 119.7 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.292, allocations: 1.971 MB / 0.9554 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.2921, allocations: 20 kB / 0.9555 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2922, allocations: 43.97 kB / 0.9555 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.2923, allocations: 39.84 kB / 0.9555 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2925, allocations: 95.5 kB / 0.9556 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.2928, allocations: 211.4 kB / 0.9558 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2929, allocations: 0 / 0.9558 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2929, allocations: 0 / 0.9558 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2929, allocations: 0 / 0.9558 GB, free: 3.727 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.0008767/0.2938, allocations: 0.5566 MB / 0.9564 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2938, allocations: 12.03 kB / 0.9564 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.2939, allocations: 16.75 kB / 0.9564 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2942, allocations: 243.4 kB / 0.9566 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2942, allocations: 15.98 kB / 0.9566 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.2943, allocations: 16 kB / 0.9567 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2945, allocations: 113.2 kB / 0.9568 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2945, allocations: 4 kB / 0.9568 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2945, allocations: 0 / 0.9568 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2945, allocations: 0 / 0.9568 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2947, allocations: 59.91 kB / 0.9568 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.2955, allocations: 0.5395 MB / 0.9574 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2957, allocations: 97.14 kB / 0.9574 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.2958, allocations: 37.77 kB / 0.9575 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.2958, allocations: 8.188 kB / 0.9575 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.2961, allocations: 128.9 kB / 0.9576 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2961, allocations: 0 / 0.9576 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003377/0.2964, allocations: 157.6 kB / 0.9578 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2965, allocations: 81.11 kB / 0.9578 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2967, allocations: 210.6 kB / 0.958 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2967, allocations: 37.64 kB / 0.9581 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.2968, allocations: 124.4 kB / 0.9582 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2969, allocations: 27.64 kB / 0.9582 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.297, allocations: 57.69 kB / 0.9583 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2971, allocations: 330.8 kB / 0.9586 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.2971, allocations: 35.92 kB / 0.9586 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2974, allocations: 146.6 kB / 0.9588 GB, free: 416 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2975, allocations: 110 kB / 0.9589 GB, free: 284 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2975, allocations: 3.984 kB / 0.9589 GB, free: 280 kB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002624/0.2978, allocations: 164.2 kB / 0.959 GB, free: 112 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2978, allocations: 8 kB / 0.959 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2979, allocations: 0 / 0.959 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2979, allocations: 4 kB / 0.959 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.298, allocations: 20.14 kB / 0.9591 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.298, allocations: 7.938 kB / 0.9591 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.2982, allocations: 27.83 kB / 0.9591 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.2982, allocations: 8 kB / 0.9591 GB, free: 36 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.0001365/0.2984, allocations: 139.5 kB / 0.9592 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2984, allocations: 15.81 kB / 0.9593 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.2985, allocations: 21.53 kB / 0.9593 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2985, allocations: 0 / 0.9593 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2985, allocations: 7.984 kB / 0.9593 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2985, allocations: 4 kB / 0.9593 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.2991, allocations: 458.2 kB / 0.9597 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2991, allocations: 0 / 0.9597 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.2991, allocations: 11.92 kB / 0.9597 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2991, allocations: 4 kB / 0.9597 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2991, allocations: 3.938 kB / 0.9597 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2991, allocations: 7.938 kB / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2991, allocations: 0 / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.2994, allocations: 224.2 kB / 0.96 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.2994, allocations: 96.86 kB / 0.9601 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.2995, allocations: 4 kB / 0.9601 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2996, allocations: 27.84 kB / 0.9601 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.2997, allocations: 19.98 kB / 0.9601 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2997, allocations: 4 kB / 0.9601 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001187/0.2998, allocations: 144.5 kB / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2998, allocations: 0 / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000327/0.3002, allocations: 51.98 kB / 0.9603 GB, free: 14.71 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.0003263/0.3005, allocations: 166.7 kB / 0.9605 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3007, allocations: 115.1 kB / 0.9606 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3008, allocations: 4.062 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3009, allocations: 51.92 kB / 0.9606 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3013, allocations: 53.86 kB / 0.9607 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.3019, allocations: 325.9 kB / 0.961 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3021, allocations: 0.7281 MB / 0.9617 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3022, allocations: 19.44 kB / 0.9617 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.3022, allocations: 0 / 0.9617 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of Templates: time 0.005571/0.3078, allocations: 3.195 MB / 0.9648 GB, free: 10.05 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time