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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007709/0.007709, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.001787/0.001787, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.59 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002948/0.3502, allocations: 1.746 MB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3517, allocations: 0.8968 MB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.3517, allocations: 3.938 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.3519, allocations: 27.72 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.3523, allocations: 119.4 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.3526, allocations: 158.6 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3529, allocations: 239.5 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3531, allocations: 45.62 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3532, allocations: 119.6 kB / 1.245 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01527/0.3685, allocations: 1.974 MB / 1.247 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/0.3686, allocations: 20 kB / 1.247 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3687, allocations: 47.88 kB / 1.247 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.3688, allocations: 43.83 kB / 1.247 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3689, allocations: 91.56 kB / 1.247 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.3693, allocations: 223.1 kB / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3694, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3694, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3694, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9669 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.0008421/0.3702, allocations: 0.5564 MB / 1.248 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3703, allocations: 12.03 kB / 1.248 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.3703, allocations: 42.73 kB / 1.248 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.3704, allocations: 20.84 kB / 1.248 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3707, allocations: 251.3 kB / 1.248 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3707, allocations: 12 kB / 1.248 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.3708, allocations: 11.94 kB / 1.248 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.371, allocations: 111.4 kB / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.371, allocations: 4 kB / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.371, allocations: 8 kB / 1.248 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.371, allocations: 0 / 1.248 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3712, allocations: 55.91 kB / 1.248 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.372, allocations: 0.5396 MB / 1.249 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3722, allocations: 97.12 kB / 1.249 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3723, allocations: 33.78 kB / 1.249 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3723, allocations: 20.03 kB / 1.249 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.3726, allocations: 121.1 kB / 1.249 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.3726, allocations: 0 / 1.249 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003497/0.373, allocations: 165.1 kB / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.373, allocations: 85.11 kB / 1.25 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3733, allocations: 198.2 kB / 1.25 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.3733, allocations: 33.83 kB / 1.25 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.3734, allocations: 128.5 kB / 1.25 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3734, allocations: 35.73 kB / 1.25 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.3735, allocations: 61.66 kB / 1.25 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3737, allocations: 326.8 kB / 1.25 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.3738, allocations: 31.98 kB / 1.25 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.374, allocations: 149.2 kB / 1.25 GB, free: 340 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3742, allocations: 109.9 kB / 1.251 GB, free: 208 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3742, allocations: 0 / 1.251 GB, free: 208 kB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002568/0.3745, allocations: 165.3 kB / 1.251 GB, free: 36 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3745, allocations: 7.984 kB / 1.251 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3745, allocations: 7.938 kB / 1.251 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3745, allocations: 4 kB / 1.251 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.3746, allocations: 12 kB / 1.251 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.3746, allocations: 7.984 kB / 1.251 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3749, allocations: 32.08 kB / 1.251 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3749, allocations: 8 kB / 1.251 GB, free: 15.95 MB / 0.9825 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.000147/0.375, allocations: 144 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3751, allocations: 15.91 kB / 1.251 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.3751, allocations: 21.52 kB / 1.251 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3751, allocations: 4 kB / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3751, allocations: 0 / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3751, allocations: 0 / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.3758, allocations: 469.8 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3758, allocations: 0 / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.3758, allocations: 7.938 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3758, allocations: 0 / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3758, allocations: 11.94 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3758, allocations: 3.984 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3758, allocations: 0 / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3761, allocations: 230.9 kB / 1.252 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.3762, allocations: 97 kB / 1.252 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.3763, allocations: 11.88 kB / 1.252 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3764, allocations: 11.98 kB / 1.252 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.3765, allocations: 19.97 kB / 1.252 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3765, allocations: 8 kB / 1.252 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000144/0.3767, allocations: 147.3 kB / 1.252 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3767, allocations: 0 / 1.252 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003015/0.377, allocations: 43.94 kB / 1.252 GB, free: 14.62 MB / 0.9825 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.0008154/0.3778, allocations: 0.8401 MB / 1.253 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.378, allocations: 103.8 kB / 1.253 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.378, allocations: 4 kB / 1.253 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.3781, allocations: 51.17 kB / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3786, allocations: 55.58 kB / 1.253 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3807, allocations: 1.923 MB / 1.255 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.381, allocations: 0.7205 MB / 1.256 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.3811, allocations: 29.56 kB / 1.256 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3812, allocations: 59.41 kB / 1.256 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3812, allocations: 0 / 1.256 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2549/0.6362, allocations: 5.545 MB / 1.261 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.885, allocations: 3.781 kB / 1.261 GB, free: 5.328 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches