Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001129/0.001129, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5883, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001971/0.5904, allocations: 0.7708 MB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.5913, allocations: 0.8663 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.5914, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.5914, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.5915, allocations: 7.922 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.5917, allocations: 15.94 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.5917, allocations: 43.91 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.5918, allocations: 8 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.5919, allocations: 23.86 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.592, allocations: 23.91 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.592, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.592, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.592, allocations: 7.984 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.5921, allocations: 15.88 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.5922, allocations: 39.86 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5922, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5922, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5922, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004836/0.5927, allocations: 365.6 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5927, allocations: 8.031 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5928, allocations: 38.75 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.5928, allocations: 0.9375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5929, allocations: 176.3 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.5929, allocations: 384 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.593, allocations: 384 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.5932, allocations: 78.16 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5932, allocations: 3.938 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5932, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5932, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.5935, allocations: 63.92 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.5938, allocations: 268.9 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.594, allocations: 62.45 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5942, allocations: 40.92 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5942, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5943, allocations: 34.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.5943, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004975/0.5948, allocations: 129.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5948, allocations: 51.41 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.5949, allocations: 121.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.5949, allocations: 29.64 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.595, allocations: 84.14 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.595, allocations: 15.75 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.595, allocations: 25.64 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5952, allocations: 310.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5953, allocations: 31.97 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5955, allocations: 35.95 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.5957, allocations: 72.72 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5957, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.596, allocations: 97.62 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5961, allocations: 8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5961, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5961, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.5962, allocations: 19.92 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5962, allocations: 7.984 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.5963, allocations: 7.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5963, allocations: 8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.22e-05/0.5964, allocations: 110.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5964, allocations: 7.906 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.5965, allocations: 7.906 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5965, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5965, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5965, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.5967, allocations: 173.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.5967, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.5968, allocations: 19.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5968, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.5971, allocations: 207.3 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.5972, allocations: 81.02 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5972, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.5973, allocations: 12.36 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.5974, allocations: 3.984 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.5974, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.5974, allocations: 91.2 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5974, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002091/0.5977, allocations: 8 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0006516/0.5983, allocations: 0.7358 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.5986, allocations: 75.86 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5986, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.5988, allocations: 35.95 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5991, allocations: 10.19 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.5995, allocations: 164.9 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.5997, allocations: 0.6809 MB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.5998, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.5998, allocations: 19.42 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.5998, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.6105, allocations: 1.4 MB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.6108, allocations: 209.6 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.186, allocations: 3.375 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches