Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001383/0.001383, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001612/0.001612, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.598/1.598, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7923 GB, free: 1.379 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 59.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 176.1 MB / 1.321 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.005003/1.164, allocations: 0.8838 MB / 1.322 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000381/1.165, allocations: 57.61 kB / 1.322 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/1.165, allocations: 2.375 kB / 1.322 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/1.165, allocations: 7.875 kB / 1.322 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/1.165, allocations: 23.05 kB / 1.322 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/1.165, allocations: 20.61 kB / 1.322 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/1.166, allocations: 86.41 kB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/1.166, allocations: 35.2 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/1.166, allocations: 37.67 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/1.166, allocations: 34.06 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/1.166, allocations: 8.625 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/1.166, allocations: 5.594 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/1.166, allocations: 26.55 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/1.166, allocations: 40.09 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/1.167, allocations: 105.3 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.167, allocations: 0 / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.657e-06/1.167, allocations: 3.938 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.167, allocations: 0 / 1.323 GB, free: 23.75 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.0008041/1.167, allocations: 397.8 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/1.168, allocations: 19.05 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.784e-05/1.168, allocations: 4.375 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/1.168, allocations: 51.84 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/1.168, allocations: 10.23 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/1.168, allocations: 205.1 kB / 1.323 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/1.168, allocations: 10.06 kB / 1.323 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/1.168, allocations: 17.34 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/1.168, allocations: 97.55 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.168, allocations: 0 / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.168, allocations: 6.688 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.168, allocations: 2.625 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/1.168, allocations: 42.03 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/1.169, allocations: 469.1 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/1.169, allocations: 36.03 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/1.169, allocations: 26.23 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/1.169, allocations: 4 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.169, allocations: 33.31 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/1.169, allocations: 0 / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002423/1.169, allocations: 55.81 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.17, allocations: 81.05 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.17, allocations: 179.9 kB / 1.324 GB, free: 22.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/1.17, allocations: 37.64 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/1.17, allocations: 112.9 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/1.17, allocations: 7.891 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/1.17, allocations: 22.2 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/1.17, allocations: 320.7 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/1.17, allocations: 2.812 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/1.17, allocations: 18.72 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/1.17, allocations: 37.25 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.17, allocations: 0 / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001095/1.17, allocations: 56.44 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.17, allocations: 4.875 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.17, allocations: 3.062 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.17, allocations: 0 / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/1.17, allocations: 8.109 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.17, allocations: 3.938 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/1.17, allocations: 10.83 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/1.17, allocations: 2.688 kB / 1.325 GB, free: 21.56 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 7.526e-05/1.17, allocations: 113.8 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/1.17, allocations: 17.09 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/1.171, allocations: 16.86 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.171, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.171, allocations: 3.938 kB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.171, allocations: 2.625 kB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/1.171, allocations: 482.5 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.171, allocations: 2.625 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/1.171, allocations: 6.5 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.171, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/1.171, allocations: 2.531 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/1.171, allocations: 4 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.171, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/1.171, allocations: 86.39 kB / 1.326 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/1.171, allocations: 97.23 kB / 1.326 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/1.171, allocations: 0 / 1.326 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/1.171, allocations: 6.375 kB / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/1.171, allocations: 0 / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/1.171, allocations: 2.719 kB / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001175/1.171, allocations: 139 kB / 1.326 GB, free: 20.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/1.171, allocations: 0 / 1.326 GB, free: 20.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003175/1.172, allocations: 8.375 kB / 1.326 GB, free: 20.62 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.0003819/1.172, allocations: 0.624 MB / 1.327 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001303/1.172, allocations: 23.03 kB / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.172, allocations: 0 / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/1.172, allocations: 6.812 kB / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/1.172, allocations: 10.69 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/1.174, allocations: 1.408 MB / 1.328 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/1.174, allocations: 0.7025 MB / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.217e-05/1.174, allocations: 9.5 kB / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/1.174, allocations: 28.47 kB / 1.329 GB, free: 18.02 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/1.174, allocations: 0 / 1.329 GB, free: 18.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/1.196, allocations: 1.786 MB / 1.331 GB, free: 17.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.54, allocations: 7.453 kB / 1.331 GB, free: 17.6 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 16.52396610903088]