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.0008986/0.0008986, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008248/0.0008248, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.612/1.612, 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 1.914e-06/1.914e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.536e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001557/0.001583, allocations: 0.783 MB / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.001683, allocations: 43.78 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.001728, allocations: 0 / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.001764, allocations: 11.86 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.001847, allocations: 7.938 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.042e-05/0.001887, allocations: 23.91 kB / 0.9514 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.001984, allocations: 63.78 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.0021, allocations: 27.97 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.002181, allocations: 35.91 kB / 0.9515 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.002222, allocations: 23.91 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.002246, allocations: 8 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002253, allocations: 4 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.002272, allocations: 19.92 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.002298, allocations: 15.92 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.887e-05/0.002397, allocations: 71.75 kB / 0.9516 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.0024, allocations: 0 / 0.9516 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.252e-06/0.002401, allocations: 3.938 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.002406, allocations: 0 / 0.9516 GB, free: 2.359 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.0003701/0.002776, allocations: 309.9 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.002813, allocations: 16.03 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.002842, allocations: 38.73 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.002865, allocations: 12.84 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.003009, allocations: 141.5 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.00302, allocations: 8.375 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.003028, allocations: 4.375 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003144, allocations: 98.39 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003151, allocations: 192 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.003159, allocations: 384 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003166, allocations: 8.125 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.003221, allocations: 35.98 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.003592, allocations: 399.7 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.003638, allocations: 37.16 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.003662, allocations: 17.84 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.00367, allocations: 7.984 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.003688, allocations: 34.59 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.003689, allocations: 0 / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.003825, allocations: 53.78 kB / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.003859, allocations: 85.11 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.003962, allocations: 161 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.003971, allocations: 25.7 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.004022, allocations: 100.1 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.004028, allocations: 3.953 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004054, allocations: 21.67 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.004128, allocations: 322.8 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.00414, allocations: 4 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.004163, allocations: 21.7 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.004196, allocations: 37.66 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004199, allocations: 4 kB / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.025e-05/0.004249, allocations: 49.66 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.004262, allocations: 4 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004266, allocations: 3.938 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.00428, allocations: 7.984 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.004329, allocations: 11.88 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004333, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.00435, allocations: 7.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004354, allocations: 4.062 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.306e-05/0.004418, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.004438, allocations: 7.953 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.004457, allocations: 15.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004459, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.004463, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004466, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.004714, allocations: 437.9 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004714, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.004725, allocations: 7.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004726, allocations: 4.062 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.004732, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004733, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.004733, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.286e-05/0.004786, allocations: 85.88 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.004804, allocations: 11.89 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.004813, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.004823, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.004834, allocations: 3.984 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.004836, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.004892, allocations: 126.3 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004892, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001223/0.005014, 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.0002224/0.005237, allocations: 0.6117 MB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.005303, allocations: 16 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.005305, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.005311, 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.0001218/0.005433, allocations: 8.281 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.00628, allocations: 1.337 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.006324, allocations: 79.31 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.006351, allocations: 12.52 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.006393, allocations: 28.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.006393, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.0197, allocations: 2.234 MB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.586, allocations: 8.156 kB / 0.9587 GB, free: 10.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.50759790185839]