Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001672/0.001672, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002718/0.002718, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 8.023 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.485/3.485, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.002197/0.002197, allocations: 68.84 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3921, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002323/0.3945, allocations: 0.7225 MB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3957, allocations: 0.8359 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.3957, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3958, allocations: 3.938 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.3959, allocations: 11.88 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.396, allocations: 11.98 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.3961, allocations: 39.86 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3962, allocations: 15.98 kB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.3962, allocations: 19.97 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.3963, allocations: 23.86 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3963, allocations: 4 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3963, allocations: 4 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.3963, allocations: 4 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.3964, allocations: 19.92 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3965, allocations: 44.03 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3965, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3965, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3965, allocations: 4 kB / 1.355 GB, free: 6.703 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.0004975/0.397, allocations: 282.2 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.397, allocations: 15.97 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.3971, allocations: 38.73 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.3971, allocations: 0.9375 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3972, allocations: 118.4 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3972, allocations: 4.375 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3972, allocations: 4.312 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.3975, allocations: 70.22 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3975, allocations: 3.938 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3975, allocations: 4 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3975, allocations: 0 / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3978, allocations: 67.86 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3981, allocations: 243.9 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3983, allocations: 54.53 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3985, allocations: 36.92 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3985, allocations: 0 / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3986, allocations: 34.56 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3986, allocations: 0 / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005526/0.3991, allocations: 133.5 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3991, allocations: 51.41 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3993, allocations: 109.8 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3993, allocations: 25.7 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.3993, allocations: 88.14 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3994, allocations: 11.89 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.3994, allocations: 17.72 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3996, allocations: 314.8 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3997, allocations: 39.95 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3999, allocations: 27.97 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.4001, allocations: 76.94 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4001, allocations: 0 / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003225/0.4005, allocations: 101.6 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4005, allocations: 4 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4005, allocations: 0 / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4005, allocations: 0 / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4006, allocations: 23.97 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4006, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.4007, allocations: 11.98 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4007, allocations: 4 kB / 1.357 GB, free: 4.527 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.364e-05/0.4008, allocations: 113.7 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.4008, allocations: 7.953 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.4012, allocations: 109.5 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4012, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4012, allocations: 8 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4012, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4014, allocations: 148.6 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4014, allocations: 0 / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.4015, allocations: 15.98 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4015, allocations: 3.938 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.402, allocations: 207.3 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.402, allocations: 3.953 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.402, allocations: 0 / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4021, allocations: 11.98 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.4022, allocations: 7.984 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4022, allocations: 8 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.4022, allocations: 79.28 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4022, allocations: 0 / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002296/0.4025, allocations: 12 kB / 1.357 GB, free: 3.727 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.0008138/0.4033, allocations: 0.7202 MB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.4037, allocations: 75.8 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4037, allocations: 0 / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4038, allocations: 39.95 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.4042, allocations: 5.562 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.4048, allocations: 151.2 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4051, allocations: 0.6807 MB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.4052, allocations: 0 / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.4052, allocations: 23.42 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4052, allocations: 0 / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4346, allocations: 1.748 MB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 9.609 kB / 1.361 GB, free: 328 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 19.103550773113966]