Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 107.5 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7491 GB, free: 2.996 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.073 GB, free: 56 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.982/0.984, allocations: 159.1 MB / 1.229 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002128/0.9862, allocations: 0.7045 MB / 1.229 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.9875, allocations: 0.8702 MB / 1.23 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.9876, allocations: 4 kB / 1.23 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.9876, allocations: 3.938 kB / 1.23 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.9877, allocations: 3.938 kB / 1.23 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.9879, allocations: 15.97 kB / 1.23 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.9881, allocations: 51.78 kB / 1.23 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.9882, allocations: 12 kB / 1.23 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.9883, allocations: 11.98 kB / 1.23 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.9884, allocations: 15.92 kB / 1.23 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.9884, allocations: 8 kB / 1.23 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.9884, allocations: 4 kB / 1.23 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.9885, allocations: 15.92 kB / 1.23 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.9885, allocations: 15.92 kB / 1.23 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.9886, allocations: 45.62 kB / 1.23 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.9887, allocations: 4 kB / 1.23 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.786e-06/0.9887, allocations: 0 / 1.23 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9887, allocations: 0 / 1.23 GB, free: 2.988 MB / 0.9356 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.0006589/0.9893, allocations: 367.3 kB / 1.231 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9894, allocations: 8.031 kB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.9895, allocations: 34.75 kB / 1.231 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.9895, allocations: 16.77 kB / 1.231 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.9897, allocations: 164.4 kB / 1.231 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.9897, allocations: 4.375 kB / 1.231 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.9897, allocations: 384 / 1.231 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.99, allocations: 66.22 kB / 1.231 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.99, allocations: 3.938 kB / 1.231 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.99, allocations: 8 kB / 1.231 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.99, allocations: 0 / 1.231 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.9903, allocations: 63.92 kB / 1.231 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.9907, allocations: 272.8 kB / 1.231 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.9909, allocations: 62.53 kB / 1.231 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.9911, allocations: 32.92 kB / 1.231 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.9911, allocations: 3.984 kB / 1.232 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.9912, allocations: 34.56 kB / 1.232 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.9912, allocations: 0 / 1.232 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005571/0.9917, allocations: 133.5 kB / 1.232 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.9918, allocations: 51.41 kB / 1.232 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.9919, allocations: 109.8 kB / 1.232 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.9919, allocations: 25.7 kB / 1.232 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.992, allocations: 92.08 kB / 1.232 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.992, allocations: 15.89 kB / 1.232 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.9921, allocations: 13.72 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9922, allocations: 314.8 kB / 1.232 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.9924, allocations: 31.95 kB / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.9926, allocations: 27.97 kB / 1.232 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.9929, allocations: 76.72 kB / 1.232 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9929, allocations: 3.938 kB / 1.232 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003373/0.9932, allocations: 101.6 kB / 1.232 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9932, allocations: 9.875 kB / 1.232 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9933, allocations: 0 / 1.232 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9933, allocations: 0 / 1.232 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.9934, allocations: 19.97 kB / 1.233 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9934, allocations: 0 / 1.233 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.9935, allocations: 15.94 kB / 1.233 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.9935, allocations: 0 / 1.233 GB, free: 0.6133 MB / 0.9356 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 0.0001025/0.9936, allocations: 114.4 kB / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.9937, allocations: 8 kB / 1.233 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.9937, allocations: 7.906 kB / 1.233 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9937, allocations: 4 kB / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9937, allocations: 0 / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9937, allocations: 0 / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.9939, allocations: 177.6 kB / 1.233 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.994, allocations: 3.938 kB / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-05/0.9941, allocations: 19.92 kB / 1.233 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9941, allocations: 0 / 1.233 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9941, allocations: 0 / 1.233 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9941, allocations: 4 kB / 1.233 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9941, allocations: 0 / 1.233 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.9945, allocations: 199.4 kB / 1.233 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.9946, allocations: 81.11 kB / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9946, allocations: 0 / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.9947, allocations: 11.98 kB / 1.233 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.9947, allocations: 7.984 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.9948, allocations: 4 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.9948, allocations: 83.59 kB / 1.233 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9948, allocations: 0 / 1.233 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002133/0.9951, allocations: 7.984 kB / 1.233 GB, free: 15.79 MB / 0.9512 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.0007994/0.9959, allocations: 0.7367 MB / 1.234 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.9962, allocations: 75.91 kB / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9963, allocations: 0 / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.9964, allocations: 43.89 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.9968, allocations: 7.938 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.9972, allocations: 159 kB / 1.234 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.9976, allocations: 0.6884 MB / 1.235 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.9976, allocations: 0 / 1.235 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.9977, allocations: 19.42 kB / 1.235 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9977, allocations: 0 / 1.235 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/1.021, allocations: 1.677 MB / 1.237 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/9.208, allocations: 0.5938 kB / 1.237 GB, free: 12.39 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.308070051949471]