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.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.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.004986/0.004986, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001393/0.001393, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.299/2.299, allocations: 437.1 MB / 0.7106 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 75.88 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5888, allocations: 151.6 MB / 1.166 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00154/0.5904, allocations: 0.7068 MB / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.5913, allocations: 0.8765 MB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.5913, allocations: 0 / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.5914, allocations: 7.938 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.5914, allocations: 3.938 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.5916, allocations: 23.97 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.32e-05/0.5917, allocations: 43.86 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.5917, allocations: 15.97 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.5918, allocations: 19.92 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.5919, allocations: 15.92 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.5919, allocations: 4 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.5919, allocations: 8 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.5919, allocations: 7.938 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.592, allocations: 19.92 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.592, allocations: 43.8 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.592, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5921, allocations: 4 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5921, allocations: 0 / 1.168 GB, free: 2.125 MB / 0.8887 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.0004592/0.5925, allocations: 363 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5926, allocations: 16.92 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.5926, allocations: 30.75 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.5926, allocations: 16.83 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.5927, allocations: 164.4 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.5928, allocations: 4.375 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.5928, allocations: 4.359 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.593, allocations: 70.2 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.593, allocations: 3.938 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.593, allocations: 3.938 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.593, allocations: 8 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.5933, allocations: 63.92 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.5936, allocations: 268.8 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.5938, allocations: 58.53 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.594, allocations: 32.92 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.594, allocations: 7.984 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.594, allocations: 34.56 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.594, allocations: 0 / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005/0.5945, allocations: 129.5 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5946, allocations: 51.41 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.5947, allocations: 105.8 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5947, allocations: 29.7 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.5947, allocations: 92.06 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.5948, allocations: 11.91 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.5948, allocations: 17.72 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5949, allocations: 314.8 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5951, allocations: 31.97 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.5952, allocations: 28.03 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.5955, allocations: 80.66 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5955, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003021/0.5958, allocations: 97.56 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5958, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5958, allocations: 11.92 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.5958, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.596, allocations: 15.98 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.596, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.596, allocations: 15.98 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.5961, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 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 6.777e-05/0.5961, allocations: 113.8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.5962, allocations: 3.953 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.5962, allocations: 15.89 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5962, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5962, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5962, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5964, allocations: 169.9 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5964, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.5965, allocations: 19.91 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5965, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5965, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5965, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5965, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.5969, allocations: 195.3 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.5969, allocations: 85.06 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5969, allocations: 7.984 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.597, allocations: 11.98 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.5971, allocations: 4 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.5971, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.5971, allocations: 95.25 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5971, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001968/0.5973, allocations: 4 kB / 1.171 GB, free: 14.93 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: 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.000638/0.598, allocations: 0.7396 MB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.5983, allocations: 63.92 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5983, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.5985, allocations: 43.91 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5987, allocations: 10.48 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.5991, allocations: 147 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.5993, allocations: 0.6846 MB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.5994, allocations: 7.938 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.5994, allocations: 15.44 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.5994, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.722/4.321, allocations: 1.669 MB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.634/13.95, allocations: 15.88 kB / 1.174 GB, free: 11.54 MB / 0.9044 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=400 --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