Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008184/0.0008184, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008752/0.0008752, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9289/0.9289, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.949e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001508/0.001538, allocations: 0.7829 MB / 0.9513 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.001658, allocations: 47.78 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.001711, allocations: 4 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.001751, allocations: 7.875 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.00184, allocations: 15.8 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.269e-05/0.001882, allocations: 15.98 kB / 0.9514 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.001989, allocations: 67.83 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.002116, allocations: 23.98 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.0022, allocations: 39.84 kB / 0.9515 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.002244, allocations: 23.89 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.002265, allocations: 4 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.002273, allocations: 8 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.002291, allocations: 19.94 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.002318, allocations: 19.91 kB / 0.9516 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.002418, allocations: 67.77 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00242, allocations: 0 / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002421, allocations: 3.938 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.002425, allocations: 0 / 0.9516 GB, free: 2.355 MB / 0.9011 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.0003324/0.002758, allocations: 310 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.002796, allocations: 8.031 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.002827, allocations: 42.73 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.002851, allocations: 16.78 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.003011, allocations: 137.6 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003022, allocations: 12.31 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.003032, allocations: 4.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.003153, allocations: 91.89 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.00316, allocations: 192 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.00317, allocations: 4.375 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003176, allocations: 4.125 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.003235, allocations: 39.97 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.003655, allocations: 399.7 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.003705, allocations: 37.22 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.003733, allocations: 21.78 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.003741, allocations: 0 / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.003764, allocations: 38.59 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.22e-07/0.003765, allocations: 0 / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.003919, allocations: 53.58 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.003959, allocations: 85.05 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.00407, allocations: 160.8 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004079, allocations: 25.95 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.004155, allocations: 104.1 kB / 0.9531 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.004162, allocations: 3.953 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.00419, allocations: 21.67 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.004271, allocations: 322.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.004285, allocations: 4 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.004302, allocations: 17.72 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.004339, allocations: 33.66 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004341, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.959e-05/0.0044, allocations: 61.64 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.004415, allocations: 4 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.004421, allocations: 0 / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.004433, allocations: 0 / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.00449, allocations: 15.88 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.004496, allocations: 3.984 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.004515, allocations: 3.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.004518, allocations: 4 kB / 0.9536 GB, free: 76 kB / 0.9011 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 6.19e-05/0.00458, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.004602, allocations: 7.953 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.004621, allocations: 19.81 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004623, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.004629, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004631, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.00488, allocations: 437.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.004881, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.004891, allocations: 7.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004892, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.004897, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.004899, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004899, allocations: 4.062 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.394e-05/0.004953, allocations: 81.88 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.004972, allocations: 11.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.004982, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.004991, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.005002, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.005004, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.005055, allocations: 122.5 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.005055, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001203/0.005175, allocations: 12 kB / 0.9544 GB, free: 15.17 MB / 0.9167 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.0002647/0.00544, allocations: 0.6171 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.005513, allocations: 15.98 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005515, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.005523, allocations: 7.938 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.005643, allocations: 9.719 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.006507, allocations: 1.338 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.006555, allocations: 79.33 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.006584, allocations: 8.484 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.00663, allocations: 28.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.00663, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.02137, allocations: 2.246 MB / 0.9587 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.59, allocations: 3.953 kB / 0.9587 GB, free: 10.81 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.680324915796518]