Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.532/3.532, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 62.75 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4056, allocations: 180.2 MB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00189/0.4075, allocations: 0.7164 MB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4086, allocations: 0.8943 MB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.4086, allocations: 0 / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.4087, allocations: 3.984 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.4087, allocations: 15.86 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.4089, allocations: 15.92 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.409, allocations: 43.86 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.4091, allocations: 11.98 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.4092, allocations: 23.86 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.4092, allocations: 23.92 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.4092, allocations: 4 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.4092, allocations: 4 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.4092, allocations: 7.984 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.4093, allocations: 19.86 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.4094, allocations: 40.09 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4094, allocations: 4 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4094, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.4094, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 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.0004751/0.4099, allocations: 286.2 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4099, allocations: 16.02 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4099, allocations: 30.75 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.41, allocations: 4.938 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.4101, allocations: 114.4 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4101, allocations: 4.375 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.4101, allocations: 384 / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4103, allocations: 74.16 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4103, allocations: 7.938 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4103, allocations: 3.984 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.4103, allocations: 0 / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.4106, allocations: 59.94 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.411, allocations: 243.9 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.4112, allocations: 62.47 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4114, allocations: 32.92 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.4114, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4114, allocations: 34.56 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4114, allocations: 4 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005662/0.412, allocations: 133.6 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4121, allocations: 51.41 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4122, allocations: 109.8 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4122, allocations: 33.64 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.4122, allocations: 88.14 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4123, allocations: 11.89 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.4123, allocations: 17.72 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4125, allocations: 310.8 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4126, allocations: 35.95 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4127, allocations: 31.97 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.413, allocations: 72.72 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.413, allocations: 3.938 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.4133, allocations: 97.62 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4133, allocations: 4 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4133, allocations: 3.938 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4134, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4135, allocations: 19.97 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4135, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.4136, allocations: 15.98 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.4136, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 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 9.469e-05/0.4137, allocations: 121.8 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4137, allocations: 3.953 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.4137, allocations: 8 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4138, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4138, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4138, allocations: 3.984 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.414, allocations: 140.6 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.414, allocations: 0 / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.4141, allocations: 15.98 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4141, allocations: 8 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4141, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4141, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4141, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.4145, allocations: 195.3 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.4145, allocations: 11.95 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.4145, allocations: 0 / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4146, allocations: 15.98 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4146, allocations: 3.984 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4146, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.4147, allocations: 95.2 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4147, allocations: 0 / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002249/0.4149, allocations: 4 kB / 1.357 GB, free: 3.695 MB / 1.045 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.0007075/0.4156, allocations: 0.7284 MB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.416, allocations: 71.92 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.416, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.4161, allocations: 32.06 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4164, allocations: 10.42 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4169, allocations: 159.3 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.4172, allocations: 0.6884 MB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.4172, allocations: 11.92 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4173, allocations: 11.44 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4173, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.446, allocations: 1.791 MB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 5.609 kB / 1.361 GB, free: 240 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.80147030390799]