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.0007678/0.0007678, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008936/0.0008936, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8805/0.8805, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.889e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001584/0.001603, allocations: 0.7973 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 7.594e-05/0.001679, allocations: 43.78 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.001711, allocations: 4 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.001733, allocations: 7.875 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.001777, allocations: 11.88 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.555e-05/0.001803, allocations: 15.98 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.001865, allocations: 63.83 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.001938, allocations: 27.97 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.001989, allocations: 39.84 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.002015, allocations: 19.91 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.002029, allocations: 12 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-06/0.002034, allocations: 8 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.002048, allocations: 11.92 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.002066, allocations: 23.92 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.002136, allocations: 71.69 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.002137, allocations: 4 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.22e-07/0.002138, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.002141, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 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.000215/0.002356, allocations: 306 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.655e-05/0.002382, allocations: 8.75 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.154e-05/0.002404, allocations: 42.75 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.392e-05/0.002418, allocations: 8.891 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.002519, allocations: 133.6 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.002526, allocations: 4.375 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.002534, allocations: 8.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.002623, allocations: 97.41 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-06/0.002628, allocations: 192 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.002636, allocations: 4.375 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.002641, allocations: 8.125 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.002689, allocations: 39.92 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.002984, allocations: 387.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.003019, allocations: 45.27 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.003041, allocations: 17.84 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-06/0.003045, allocations: 3.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.00306, allocations: 34.56 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.003062, allocations: 3.984 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 8.311e-05/0.003145, allocations: 53.59 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.003174, allocations: 85.28 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.003261, allocations: 157.6 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.00327, allocations: 37.62 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.003311, allocations: 104 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.003316, allocations: 7.953 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.00334, allocations: 21.7 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.003409, allocations: 314.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.00342, allocations: 11.92 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.00344, allocations: 17.72 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.003468, allocations: 29.72 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.003469, allocations: 4 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.754e-05/0.003516, allocations: 61.58 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.003526, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.003528, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.003534, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.161e-05/0.003566, allocations: 7.938 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.003568, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.003584, allocations: 11.89 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.003587, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 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 4.892e-05/0.003636, allocations: 117.9 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.003657, allocations: 11.94 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.003671, allocations: 11.81 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.003672, allocations: 0 / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.003676, allocations: 7.938 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.003677, allocations: 3.938 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.003896, allocations: 426 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.003897, allocations: 0 / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.003907, allocations: 11.88 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.003908, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.003911, allocations: 4.062 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.003912, allocations: 3.984 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.003914, allocations: 7.938 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.017e-05/0.003954, allocations: 70.73 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.003975, allocations: 23.83 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.003981, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.003991, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-06/0.003999, allocations: 4 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-07/0.003999, allocations: 0 / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.004056, allocations: 125.4 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004056, allocations: 4.031 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001205/0.004176, allocations: 8 kB / 1.004 GB, free: 9.176 MB / 0.9636 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.0001939/0.00437, allocations: 0.6093 MB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.762e-05/0.004418, allocations: 19.94 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004419, allocations: 0 / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.004425, allocations: 7.938 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.396e-05/0.004519, allocations: 10.22 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.005278, allocations: 1.346 MB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.005321, allocations: 75.33 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.005348, allocations: 12.47 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.005381, allocations: 20.5 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.005382, allocations: 0 / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.01784, allocations: 2.237 MB / 1.008 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/6.48, allocations: 3.25 kB / 1.008 GB, free: 4.812 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/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: 10.524095227010548]