Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001703/0.001703, allocations: 109.2 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.002264/0.002264, allocations: 218 kB / 22.26 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.965 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.337/3.337, 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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.002001/0.002001, allocations: 77.41 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002276/0.3609, allocations: 0.8335 MB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.361, allocations: 43.8 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3611, allocations: 0 / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.3611, allocations: 15.8 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.3612, allocations: 11.88 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.93e-05/0.3612, allocations: 19.98 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3614, allocations: 63.83 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3615, allocations: 31.97 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.3615, allocations: 23.88 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3616, allocations: 31.78 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3616, allocations: 8 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.3616, allocations: 4 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3617, allocations: 15.94 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.3617, allocations: 35.73 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3618, allocations: 79.86 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3618, allocations: 0 / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3618, allocations: 0 / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3618, allocations: 0 / 1.354 GB, free: 7.234 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004825/0.3623, allocations: 306 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3624, allocations: 8.031 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.3624, allocations: 46.69 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3624, allocations: 8.891 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3627, allocations: 138.4 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3627, allocations: 12.38 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3627, allocations: 4.375 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3629, allocations: 97.2 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3629, allocations: 3.938 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3629, allocations: 4 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.363, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.363, allocations: 35.98 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.3637, allocations: 411.8 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.3638, allocations: 37.22 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3638, allocations: 17.88 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3639, allocations: 7.938 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3639, allocations: 30.56 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3639, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002411/0.3641, allocations: 61.52 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.3642, allocations: 77.11 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3644, allocations: 159.3 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3644, allocations: 25.95 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3645, allocations: 108 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.3645, allocations: 7.891 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.3645, allocations: 21.66 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3647, allocations: 322.8 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.3647, allocations: 4 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.3647, allocations: 21.72 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.3648, allocations: 29.66 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3648, allocations: 0 / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.312e-05/0.3649, allocations: 61.64 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3649, allocations: 7.938 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3649, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3649, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.365, allocations: 11.94 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.365, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.365, allocations: 3.953 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.365, allocations: 8.062 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001075/0.3651, allocations: 117.8 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3652, allocations: 11.89 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3652, allocations: 7.812 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3652, allocations: 4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3652, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3652, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3657, allocations: 453.7 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3657, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.3657, allocations: 7.984 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3657, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3657, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3657, allocations: 4 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3657, allocations: 3.984 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3658, allocations: 85.97 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.3659, allocations: 15.94 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3659, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.3659, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.3659, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.3659, allocations: 4 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001018/0.366, allocations: 122.3 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001827/0.3662, allocations: 15.97 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004481/0.3667, allocations: 0.6093 MB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.3668, allocations: 24.08 kB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3668, allocations: 0 / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.3668, allocations: 7.938 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.3669, allocations: 15.7 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3684, allocations: 1.328 MB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3687, allocations: 0.6924 MB / 1.359 GB, free: 1.191 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.3688, allocations: 8.422 kB / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.3688, allocations: 23.38 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.3688, allocations: 0 / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3987, allocations: 1.686 MB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.42, allocations: 13.69 kB / 1.361 GB, free: 15.59 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.692306586000086]