Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001012/0.001012, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5685, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003078/0.5717, allocations: 1.878 MB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.5732, allocations: 0.9494 MB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.5734, allocations: 1.344 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.5736, allocations: 24.16 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.574, allocations: 86.61 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.5743, allocations: 141.5 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.5747, allocations: 229 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.5749, allocations: 33.09 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.575, allocations: 108.6 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02573/0.6008, allocations: 1.857 MB / 0.9542 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.6009, allocations: 9.938 kB / 0.9542 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.601, allocations: 27.88 kB / 0.9543 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.6011, allocations: 48.22 kB / 0.9543 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.6012, allocations: 78.36 kB / 0.9544 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.6014, allocations: 211.8 kB / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6014, allocations: 0 / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6015, allocations: 0 / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6015, allocations: 0 / 0.9546 GB, free: 5.594 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007096/0.6022, allocations: 0.5506 MB / 0.9551 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6022, allocations: 13.59 kB / 0.9551 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.6023, allocations: 42.33 kB / 0.9552 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.6023, allocations: 19.28 kB / 0.9552 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.6026, allocations: 250.4 kB / 0.9554 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6026, allocations: 10.88 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.6026, allocations: 14.25 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.6028, allocations: 87.41 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6028, allocations: 1.281 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6028, allocations: 1.312 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6028, allocations: 5.344 kB / 0.9555 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.603, allocations: 52.47 kB / 0.9556 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.6036, allocations: 466.5 kB / 0.956 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.604, allocations: 143.9 kB / 0.9562 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.6041, allocations: 34.09 kB / 0.9562 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.6041, allocations: 1.969 kB / 0.9562 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.6043, allocations: 119.1 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.6043, allocations: 0 / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003065/0.6046, allocations: 170.8 kB / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.6046, allocations: 59.28 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.6048, allocations: 198.7 kB / 0.9567 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.6048, allocations: 33.27 kB / 0.9568 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.6049, allocations: 121.4 kB / 0.9569 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.6049, allocations: 37.98 kB / 0.9569 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.605, allocations: 55.11 kB / 0.957 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.6051, allocations: 332.8 kB / 0.9573 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.6051, allocations: 33.86 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6053, allocations: 130.2 kB / 0.9574 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.6055, allocations: 105.9 kB / 0.9575 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6055, allocations: 0 / 0.9575 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002123/0.6057, allocations: 155.4 kB / 0.9577 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6057, allocations: 9.359 kB / 0.9577 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6057, allocations: 1.344 kB / 0.9577 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6057, allocations: 6.562 kB / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.6058, allocations: 19.72 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6058, allocations: 1.281 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.606, allocations: 24.3 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.606, allocations: 12.64 kB / 0.9578 GB, free: 2.816 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 9.522e-05/0.6061, allocations: 140.9 kB / 0.9579 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.6062, allocations: 20.12 kB / 0.9579 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.6062, allocations: 21.73 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6062, allocations: 1.031 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6062, allocations: 0.8438 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6062, allocations: 0 / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.6068, allocations: 497.7 kB / 0.9584 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6069, allocations: 0 / 0.9584 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.6069, allocations: 7.984 kB / 0.9584 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6069, allocations: 1.062 kB / 0.9584 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6069, allocations: 9.031 kB / 0.9584 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6069, allocations: 5 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6069, allocations: 0 / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.6071, allocations: 227 kB / 0.9586 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.6072, allocations: 97.2 kB / 0.9587 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.6072, allocations: 9.094 kB / 0.9587 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.6073, allocations: 14.69 kB / 0.9588 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.6074, allocations: 21.84 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.6074, allocations: 5.359 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.6075, allocations: 142 kB / 0.9589 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6075, allocations: 0 / 0.9589 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003008/0.6078, allocations: 44.12 kB / 0.959 GB, free: 1.785 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0005511/0.6084, allocations: 0.8403 MB / 0.9598 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.6086, allocations: 102.1 kB / 0.9599 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6086, allocations: 1.25 kB / 0.9599 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.6087, allocations: 54.59 kB / 0.9599 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.6091, allocations: 52.58 kB / 0.96 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6109, allocations: 1.912 MB / 0.9619 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.6111, allocations: 0.7226 MB / 0.9626 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.249e-05/0.6112, allocations: 30.69 kB / 0.9626 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.6113, allocations: 55.22 kB / 0.9626 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.603e-06/0.6113, allocations: 0 / 0.9626 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.6287, allocations: 5.194 MB / 0.9677 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.6289, allocations: 281.8 kB / 0.968 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.416, allocations: 0 / 0.968 GB, free: 11.63 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches