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.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.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.001225/0.001225, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001291/0.001291, allocations: 191 kB / 16.25 MB, free: 6.637 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.461 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.146/2.146, allocations: 390.2 MB / 0.6644 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.89 kB / 0.8122 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4981, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002581/0.5007, allocations: 1.881 MB / 0.9511 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.502, allocations: 0.9378 MB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.5021, allocations: 1.156 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.5023, allocations: 31.25 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.5026, allocations: 86.05 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.5029, allocations: 142.2 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.5031, allocations: 246.8 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.5032, allocations: 42.28 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.5033, allocations: 115.9 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02479/0.5281, allocations: 2.004 MB / 0.9546 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.5282, allocations: 16.94 kB / 0.9546 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.5283, allocations: 36.02 kB / 0.9546 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.5284, allocations: 43.95 kB / 0.9547 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.355e-05/0.5285, allocations: 91.2 kB / 0.9547 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.5288, allocations: 216.9 kB / 0.955 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5288, allocations: 7.688 kB / 0.955 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5288, allocations: 0 / 0.955 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.5288, allocations: 0 / 0.955 GB, free: 5.559 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.0006234/0.5294, allocations: 0.5441 MB / 0.9555 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5295, allocations: 13.58 kB / 0.9555 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.5295, allocations: 38.38 kB / 0.9555 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.5296, allocations: 27.25 kB / 0.9556 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.5298, allocations: 251.7 kB / 0.9558 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5298, allocations: 9.406 kB / 0.9558 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.5298, allocations: 14.72 kB / 0.9558 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.53, allocations: 94.06 kB / 0.9559 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.53, allocations: 0 / 0.9559 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.53, allocations: 5.359 kB / 0.9559 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.53, allocations: 1.312 kB / 0.9559 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.5301, allocations: 52.62 kB / 0.956 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.5308, allocations: 466.1 kB / 0.9564 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.5311, allocations: 141 kB / 0.9566 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.5312, allocations: 29.98 kB / 0.9566 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5312, allocations: 5.359 kB / 0.9566 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.5314, allocations: 118.6 kB / 0.9567 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.5314, allocations: 4 kB / 0.9567 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002889/0.5317, allocations: 163.4 kB / 0.9569 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.5317, allocations: 59.28 kB / 0.9569 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5319, allocations: 197.8 kB / 0.9571 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.5319, allocations: 34.2 kB / 0.9571 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.5319, allocations: 120.8 kB / 0.9573 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.532, allocations: 37.41 kB / 0.9573 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.5321, allocations: 56.14 kB / 0.9573 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.5321, allocations: 332.2 kB / 0.9577 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.5322, allocations: 33.73 kB / 0.9577 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.5324, allocations: 125.2 kB / 0.9578 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.5325, allocations: 105.7 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5325, allocations: 1.094 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002005/0.5327, allocations: 150.9 kB / 0.9581 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5327, allocations: 5.5 kB / 0.9581 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5327, allocations: 1.375 kB / 0.9581 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5327, allocations: 6.875 kB / 0.9581 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.5328, allocations: 22.92 kB / 0.9581 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5328, allocations: 2.75 kB / 0.9581 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.533, allocations: 24.2 kB / 0.9581 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.533, allocations: 8.125 kB / 0.9581 GB, free: 2.797 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.291e-05/0.5331, allocations: 137.2 kB / 0.9583 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.5332, allocations: 20.05 kB / 0.9583 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.5332, allocations: 20.62 kB / 0.9583 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5332, allocations: 6.75 kB / 0.9583 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5332, allocations: 3.938 kB / 0.9583 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5332, allocations: 0 / 0.9583 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.5337, allocations: 0.4907 MB / 0.9588 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5337, allocations: 4 kB / 0.9588 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.5338, allocations: 2.969 kB / 0.9588 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5338, allocations: 9.219 kB / 0.9588 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5338, allocations: 13.12 kB / 0.9588 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5338, allocations: 0.8125 kB / 0.9588 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5338, allocations: 3.984 kB / 0.9588 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.534, allocations: 223.8 kB / 0.959 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.534, allocations: 97.03 kB / 0.9591 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.5341, allocations: 8.688 kB / 0.9591 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5342, allocations: 14.67 kB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.5343, allocations: 21.91 kB / 0.9592 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.5343, allocations: 5.344 kB / 0.9592 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001033/0.5344, allocations: 146 kB / 0.9593 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5344, allocations: 0 / 0.9593 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003173/0.5347, allocations: 47.97 kB / 0.9594 GB, free: 1.742 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.000619/0.5354, allocations: 0.8326 MB / 0.9602 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.5356, allocations: 120.5 kB / 0.9603 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5356, allocations: 0.7188 kB / 0.9603 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.5357, allocations: 52.7 kB / 0.9603 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.5362, allocations: 56.55 kB / 0.9604 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.538, allocations: 1.911 MB / 0.9623 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.5382, allocations: 0.7292 MB / 0.963 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.5383, allocations: 22.64 kB / 0.963 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.5384, allocations: 59.69 kB / 0.9631 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5384, allocations: 1.344 kB / 0.9631 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.5545, allocations: 5.346 MB / 0.9683 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.5547, allocations: 273.4 kB / 0.9685 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.316, allocations: 2.969 kB / 0.9685 GB, free: 11.52 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