Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002472/0.002472, allocations: 103.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7328, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002087/0.7349, allocations: 0.834 MB / 1.27 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.735, allocations: 43.78 kB / 1.27 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.735, allocations: 4 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.7351, allocations: 7.875 kB / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.7352, allocations: 11.88 kB / 1.27 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.772e-05/0.7352, allocations: 23.97 kB / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.7353, allocations: 59.84 kB / 1.27 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7355, allocations: 27.94 kB / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.7355, allocations: 27.86 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.7356, allocations: 27.84 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7356, allocations: 8 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.7356, allocations: 4 kB / 1.27 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.7356, allocations: 23.86 kB / 1.27 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.7357, allocations: 31.81 kB / 1.27 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.7358, allocations: 73.45 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7358, allocations: 4 kB / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7358, allocations: 0 / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7358, allocations: 0 / 1.27 GB, free: 3.977 MB / 0.9669 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.0004514/0.7362, allocations: 379.1 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7363, allocations: 8.031 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.7363, allocations: 46.73 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.7364, allocations: 12.84 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.7366, allocations: 196.1 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.7366, allocations: 12.36 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.7366, allocations: 8.375 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7368, allocations: 95.88 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7368, allocations: 3.938 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.7368, allocations: 4 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7368, allocations: 0 / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.7369, allocations: 35.98 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.7374, allocations: 436.7 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.7375, allocations: 41.22 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.7375, allocations: 17.77 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.7376, allocations: 0 / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.7376, allocations: 46.59 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.7376, allocations: 0 / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.7378, allocations: 57.47 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.7378, allocations: 77.11 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.738, allocations: 161.1 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.738, allocations: 25.7 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.738, allocations: 100.3 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/0.7381, allocations: 11.95 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.7381, allocations: 21.67 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7382, allocations: 318.8 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.7382, allocations: 4 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.7383, allocations: 21.7 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.7383, allocations: 29.66 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7383, allocations: 4 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.016e-05/0.7384, allocations: 57.64 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7384, allocations: 9.5 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7384, allocations: 3.938 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7384, allocations: 4 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.7385, allocations: 7.938 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7385, allocations: 3.984 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.7385, allocations: 7.938 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.7385, allocations: 8.062 kB / 1.272 GB, free: 1.473 MB / 0.9669 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 8.199e-05/0.7386, allocations: 113.8 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.7387, allocations: 11.89 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.7387, allocations: 15.86 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7387, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7387, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7387, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.7391, allocations: 478.7 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7391, allocations: 0 / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.7392, allocations: 8 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7392, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.7392, allocations: 4 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7392, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7392, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.226e-05/0.7393, allocations: 85.88 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.7393, allocations: 89.05 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.7393, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.7394, allocations: 4 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.7394, allocations: 4 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.7394, allocations: 0 / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.683e-05/0.7395, allocations: 121.9 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7395, allocations: 0 / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001896/0.7397, allocations: 8 kB / 1.273 GB, free: 444 kB / 0.9669 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.0004183/0.7401, allocations: 0.621 MB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.415e-05/0.7402, allocations: 16 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7402, allocations: 4.156 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.7402, allocations: 7.938 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.7403, allocations: 11.91 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.7416, allocations: 1.327 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7419, allocations: 0.7007 MB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.7419, allocations: 8.375 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.742, allocations: 27.42 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.742, allocations: 0 / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.7905, allocations: 1.586 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.187, allocations: 12.95 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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: 15.66741934698075]