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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_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.001189/0.00119, allocations: 107.3 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.001192/0.001192, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.143/2.143, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 55.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5615, allocations: 140.4 MB / 0.9492 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002819/0.5644, allocations: 1.889 MB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.5658, allocations: 0.94 MB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.5659, allocations: 1.375 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.5661, allocations: 27.62 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.5665, allocations: 93.83 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.5668, allocations: 143.3 kB / 0.9522 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.5671, allocations: 238.1 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.5672, allocations: 47.95 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.5673, allocations: 113 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02456/0.5919, allocations: 1.978 MB / 0.9545 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.592, allocations: 22.28 kB / 0.9546 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.5921, allocations: 31.81 kB / 0.9546 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.5922, allocations: 40.84 kB / 0.9546 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.5923, allocations: 98.67 kB / 0.9547 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.5926, allocations: 218.4 kB / 0.9549 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5926, allocations: 0 / 0.9549 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5926, allocations: 0 / 0.9549 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.5926, allocations: 4 kB / 0.9549 GB, free: 5.402 MB / 0.7169 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.0006983/0.5933, allocations: 0.5471 MB / 0.9555 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5934, allocations: 8.844 kB / 0.9555 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.5934, allocations: 42.05 kB / 0.9555 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.5935, allocations: 24.03 kB / 0.9555 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.5937, allocations: 242.9 kB / 0.9558 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5937, allocations: 17.59 kB / 0.9558 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.5938, allocations: 15.66 kB / 0.9558 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.594, allocations: 112.1 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.594, allocations: 1.156 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.594, allocations: 1.656 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.594, allocations: 1.844 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.5941, allocations: 56.38 kB / 0.956 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.5948, allocations: 0.5438 MB / 0.9565 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.595, allocations: 98.27 kB / 0.9566 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.595, allocations: 39.58 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5951, allocations: 3.938 kB / 0.9566 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5953, allocations: 135.9 kB / 0.9568 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.5953, allocations: 0 / 0.9568 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003251/0.5956, allocations: 154 kB / 0.9569 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5956, allocations: 85.45 kB / 0.957 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.5958, allocations: 203.1 kB / 0.9572 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.5958, allocations: 33.61 kB / 0.9572 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.5959, allocations: 119.2 kB / 0.9573 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.596, allocations: 37.05 kB / 0.9574 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.596, allocations: 59.52 kB / 0.9574 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.5961, allocations: 332.2 kB / 0.9578 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.5962, allocations: 33.86 kB / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5964, allocations: 135.4 kB / 0.9579 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.5965, allocations: 117.2 kB / 0.958 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5965, allocations: 0 / 0.958 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002419/0.5968, allocations: 162.1 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5968, allocations: 5.5 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5968, allocations: 1.375 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5968, allocations: 6.75 kB / 0.9582 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.5969, allocations: 28.23 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5969, allocations: 2.75 kB / 0.9582 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5971, allocations: 24.3 kB / 0.9582 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.5971, allocations: 6.875 kB / 0.9583 GB, free: 2.434 MB / 0.7169 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.0001041/0.5973, allocations: 152.1 kB / 0.9584 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.5973, allocations: 19.84 kB / 0.9584 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.5973, allocations: 22.84 kB / 0.9584 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.5973, allocations: 1.344 kB / 0.9584 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5974, allocations: 5.297 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5974, allocations: 0 / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.5978, allocations: 460.7 kB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5978, allocations: 5.453 kB / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.5979, allocations: 7.5 kB / 0.9589 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5979, allocations: 1.031 kB / 0.9589 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5979, allocations: 5.094 kB / 0.9589 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5979, allocations: 1.625 kB / 0.9589 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5979, allocations: 1.469 kB / 0.9589 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.5981, allocations: 231.1 kB / 0.9591 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.5981, allocations: 89.3 kB / 0.9592 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5981, allocations: 10 kB / 0.9592 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5983, allocations: 15 kB / 0.9592 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.5983, allocations: 16.3 kB / 0.9592 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.5984, allocations: 10.12 kB / 0.9593 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.768e-05/0.5985, allocations: 138.6 kB / 0.9594 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5985, allocations: 3.938 kB / 0.9594 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003066/0.5988, allocations: 55.05 kB / 0.9594 GB, free: 1.395 MB / 0.7169 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.0005277/0.5993, allocations: 0.842 MB / 0.9603 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.5996, allocations: 106 kB / 0.9604 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5996, allocations: 320 / 0.9604 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.5997, allocations: 64.12 kB / 0.9604 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.6001, allocations: 54.67 kB / 0.9605 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.6019, allocations: 1.935 MB / 0.9624 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.6021, allocations: 0.725 MB / 0.9631 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.534e-05/0.6022, allocations: 22.31 kB / 0.9631 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.6023, allocations: 52.86 kB / 0.9632 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.6023, allocations: 0 / 0.9632 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.6397, allocations: 5.299 MB / 0.9683 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.64, allocations: 283.8 kB / 0.9686 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.442, allocations: 0 / 0.9686 GB, free: 11.13 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > 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) Reference file matches