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.0007811/0.0007811, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005073/0.005073, allocations: 172 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.361/2.361, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 12 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5677, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.0006286/0.5684, allocations: 430.3 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.5692, allocations: 0.8702 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.5692, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-06/0.5692, allocations: 3.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.5693, allocations: 11.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.5694, allocations: 12 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.5694, allocations: 43.89 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.5695, allocations: 8 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.5696, allocations: 27.8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.5696, allocations: 19.92 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.5696, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.5696, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.5696, allocations: 3.984 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.5697, allocations: 41.58 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.509e-05/0.5697, allocations: 39.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.5697, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5698, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.344e-06/0.5698, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 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.0003682/0.5701, allocations: 369.6 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.5702, allocations: 12.03 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.5702, allocations: 34.75 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.478e-05/0.5702, allocations: 0.9375 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.5703, allocations: 172.3 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-06/0.5703, allocations: 384 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5703, allocations: 8.375 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.5705, allocations: 78.22 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.5706, allocations: 7.875 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.5706, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-06/0.5706, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.5709, allocations: 87.92 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.5711, allocations: 272.9 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5713, allocations: 66.53 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5715, allocations: 52.86 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.5715, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.5715, allocations: 34.56 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5715, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.572, allocations: 161.6 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.5721, allocations: 55.34 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.5722, allocations: 113.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5722, allocations: 25.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.5722, allocations: 88.14 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5722, allocations: 11.84 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.5723, allocations: 17.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.5723, allocations: 310.8 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5725, allocations: 47.91 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5726, allocations: 43.95 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5729, allocations: 92.72 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5729, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003132/0.5732, allocations: 117.5 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5733, allocations: 8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.5733, allocations: 3.938 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.5733, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.5734, allocations: 19.98 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5734, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.5735, allocations: 23.91 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5735, allocations: 0 / 1.027 GB, free: 11.78 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 5.838e-05/0.5736, allocations: 122.3 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.5736, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.5736, allocations: 7.906 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5736, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5736, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.5736, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.5738, allocations: 169.6 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5738, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.5739, allocations: 23.98 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5739, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5739, allocations: 4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5739, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5739, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.5743, allocations: 223.2 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.5743, allocations: 81.11 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.5743, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5744, allocations: 23.98 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.5745, allocations: 7.922 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5745, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.5745, allocations: 91.27 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5745, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001969/0.5747, allocations: 8 kB / 1.028 GB, free: 10.93 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.0005825/0.5753, allocations: 0.7553 MB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.5756, allocations: 92.28 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5757, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5758, allocations: 51.95 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.576, allocations: 4 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.5764, allocations: 162.5 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.5766, allocations: 0.6809 MB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.5766, allocations: 7.984 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.5766, allocations: 19.38 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5766, allocations: 0 / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.231/0.8076, allocations: 1.346 MB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.8078, allocations: 204.8 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.472, allocations: 0 / 1.031 GB, free: 7.598 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