Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001692/0.001692, allocations: 104.4 kB / 16.45 MB, free: 6.445 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.002085/0.002085, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003435/0.003435, allocations: 71.89 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.017, allocations: 173.9 MB / 1.304 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002191/1.02, allocations: 0.8839 MB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001302/1.02, allocations: 56.12 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/1.02, allocations: 2.594 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/1.02, allocations: 15.09 kB / 1.305 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/1.02, allocations: 14.44 kB / 1.305 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.037e-05/1.02, allocations: 25.45 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000126/1.02, allocations: 76.88 kB / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/1.02, allocations: 37.42 kB / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/1.02, allocations: 33.66 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/1.02, allocations: 35.98 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/1.02, allocations: 8.5 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/1.02, allocations: 8 kB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/1.02, allocations: 26.27 kB / 1.305 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/1.02, allocations: 43.42 kB / 1.305 GB, free: 31.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/1.021, allocations: 105 kB / 1.305 GB, free: 31.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.021, allocations: 6.906 kB / 1.305 GB, free: 31.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.021, allocations: 0 / 1.305 GB, free: 31.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.021, allocations: 0 / 1.305 GB, free: 31.44 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004307/1.021, allocations: 405.5 kB / 1.306 GB, free: 31.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.021, allocations: 8.625 kB / 1.306 GB, free: 31.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/1.021, allocations: 41.44 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/1.021, allocations: 10.48 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/1.021, allocations: 212 kB / 1.306 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.021, allocations: 7.344 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/1.021, allocations: 12.25 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.022, allocations: 103.3 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.022, allocations: 3.938 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.022, allocations: 7.984 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.022, allocations: 2.594 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/1.022, allocations: 46.08 kB / 1.306 GB, free: 30.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/1.022, allocations: 469.3 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/1.022, allocations: 43.31 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/1.022, allocations: 15.44 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/1.022, allocations: 0 / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/1.022, allocations: 41.44 kB / 1.307 GB, free: 30.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/1.022, allocations: 0 / 1.307 GB, free: 30.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/1.022, allocations: 54.98 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.022, allocations: 77.11 kB / 1.307 GB, free: 29.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.023, allocations: 184 kB / 1.307 GB, free: 29.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/1.023, allocations: 25.7 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/1.023, allocations: 116.8 kB / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/1.023, allocations: 18.25 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/1.023, allocations: 16.75 kB / 1.307 GB, free: 29.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/1.023, allocations: 321 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/1.023, allocations: 6.688 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/1.023, allocations: 22.52 kB / 1.307 GB, free: 29.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/1.023, allocations: 22 kB / 1.308 GB, free: 29.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.023, allocations: 4 kB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.165e-05/1.023, allocations: 58.69 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.023, allocations: 11.75 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.023, allocations: 2.75 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.023, allocations: 0 / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/1.023, allocations: 5.812 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.023, allocations: 0 / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/1.023, allocations: 10.77 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/1.023, allocations: 0 / 1.308 GB, free: 29.25 MB / 1.061 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 5.888e-05/1.023, allocations: 119.6 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.023, allocations: 9.703 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/1.023, allocations: 14.77 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.023, allocations: 0 / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.023, allocations: 2.969 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.023, allocations: 3.938 kB / 1.308 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/1.023, allocations: 481.8 kB / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.023, allocations: 112 / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/1.023, allocations: 10.62 kB / 1.308 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.023, allocations: 3.938 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.023, allocations: 0 / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.023, allocations: 6.938 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.023, allocations: 3.938 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.025e-05/1.023, allocations: 83.8 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/1.024, allocations: 95.16 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.024, allocations: 3.938 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/1.024, allocations: 2.938 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/1.024, allocations: 4 kB / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/1.024, allocations: 0 / 1.308 GB, free: 28.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.948e-05/1.024, allocations: 140.5 kB / 1.309 GB, free: 28.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.024, allocations: 0 / 1.309 GB, free: 28.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001897/1.024, allocations: 12.34 kB / 1.309 GB, free: 28.31 MB / 1.061 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.000283/1.024, allocations: 0.6166 MB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001112/1.024, allocations: 19.69 kB / 1.309 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.024, allocations: 160 / 1.309 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-06/1.024, allocations: 6.906 kB / 1.309 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/1.024, allocations: 9.562 kB / 1.309 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/1.025, allocations: 1.407 MB / 1.311 GB, free: 26.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/1.026, allocations: 0.6995 MB / 1.311 GB, free: 25.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.036e-05/1.026, allocations: 9.109 kB / 1.311 GB, free: 25.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/1.026, allocations: 28.66 kB / 1.311 GB, free: 25.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.026, allocations: 0 / 1.311 GB, free: 25.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/1.05, allocations: 1.75 MB / 1.313 GB, free: 25.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.343, allocations: 16.41 kB / 1.313 GB, free: 25.32 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.82628559321165]