Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.007676/0.007676, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.00204/0.00204, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.752, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00304/0.7551, allocations: 1.736 MB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.7567, allocations: 0.9162 MB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.7567, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.7569, allocations: 31.73 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.7573, allocations: 115.4 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.7577, allocations: 157.4 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.758, allocations: 239.5 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.7581, allocations: 37.61 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.7583, allocations: 111.7 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/0.7746, allocations: 2.027 MB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.7748, allocations: 16 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.7749, allocations: 39.98 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.7751, allocations: 43.83 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.7752, allocations: 87.58 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.7757, allocations: 224 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7757, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7757, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.7758, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 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.001006/0.7768, allocations: 0.5487 MB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7768, allocations: 16.91 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.7769, allocations: 34.75 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.777, allocations: 24.84 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.7773, allocations: 251.9 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7773, allocations: 12 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.7774, allocations: 12 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.7776, allocations: 93.64 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.7776, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7776, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7776, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.7778, allocations: 55.91 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.7786, allocations: 464.4 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.779, allocations: 142.7 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.7791, allocations: 32.84 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.7791, allocations: 0 / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.7794, allocations: 119.4 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.7794, allocations: 0 / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003526/0.7798, allocations: 164.5 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.7798, allocations: 67.34 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.7801, allocations: 200.1 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.7801, allocations: 33.7 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.7802, allocations: 116.5 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.7802, allocations: 43.66 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.7803, allocations: 57.67 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7805, allocations: 326.8 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.7806, allocations: 35.98 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.7808, allocations: 133 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.781, allocations: 102.7 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.781, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002577/0.7813, allocations: 153.4 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7813, allocations: 4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7813, allocations: 4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7813, allocations: 0 / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.7814, allocations: 23.92 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.7814, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.7816, allocations: 28 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.7817, allocations: 8 kB / 1.175 GB, free: 10.99 MB / 0.9044 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 0.0001416/0.7818, allocations: 147.4 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.7819, allocations: 19.89 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.7819, allocations: 17.88 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7819, allocations: 4 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7819, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7819, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.7827, allocations: 0.4904 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7827, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.7827, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7827, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.7827, allocations: 7.938 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7827, allocations: 3.938 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.7828, allocations: 7.984 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.783, allocations: 229.5 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.7831, allocations: 97 kB / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.7831, allocations: 7.938 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.7832, allocations: 11.98 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.7833, allocations: 19.97 kB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.7834, allocations: 8 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001368/0.7835, allocations: 140.5 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7835, allocations: 4 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003089/0.7838, allocations: 51.89 kB / 1.176 GB, free: 9.629 MB / 0.9044 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.0008348/0.7847, allocations: 0.8278 MB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.7849, allocations: 107.8 kB / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7849, allocations: 256 / 1.177 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/0.785, allocations: 59.92 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.7855, allocations: 52.45 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7877, allocations: 1.89 MB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.7881, allocations: 0.7242 MB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.985e-05/0.7882, allocations: 29.47 kB / 1.18 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7883, allocations: 55.41 kB / 1.18 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.7883, allocations: 0 / 1.18 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.8177, allocations: 5.598 MB / 1.185 GB, free: 332 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/9.07, allocations: 15.86 kB / 1.185 GB, free: 316 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches