Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001774/0.001774, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00227/0.00227, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.002056/0.002056, allocations: 63.88 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.313, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002072/0.3151, allocations: 0.7939 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.3152, allocations: 43.78 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.3153, allocations: 8 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.3153, allocations: 7.875 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.3154, allocations: 7.875 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.126e-05/0.3154, allocations: 19.97 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3155, allocations: 63.84 kB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3157, allocations: 27.98 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.3157, allocations: 31.8 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.3158, allocations: 31.84 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3158, allocations: 4 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3158, allocations: 8 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.3159, allocations: 19.92 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3159, allocations: 27.81 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.316, allocations: 83.78 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.316, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.316, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.316, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 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.0004459/0.3165, allocations: 302 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3165, allocations: 8.031 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.3165, allocations: 8.188 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3166, allocations: 38.73 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.3166, allocations: 12.89 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3168, allocations: 138.3 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3168, allocations: 8.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3168, allocations: 4.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.317, allocations: 99.64 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.317, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.317, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.317, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.3171, allocations: 43.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.3176, allocations: 383.9 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.3177, allocations: 45.17 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.3178, allocations: 25.83 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3178, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3178, allocations: 38.44 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3178, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.318, allocations: 53.59 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.318, allocations: 77.11 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3182, allocations: 164.2 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3182, allocations: 25.95 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.3183, allocations: 119.9 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.3183, allocations: 7.953 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.3183, allocations: 13.72 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3184, allocations: 318.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3185, allocations: 8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.3185, allocations: 17.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.3185, allocations: 33.66 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3185, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.603e-05/0.3186, allocations: 57.59 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3186, allocations: 11.92 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3187, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3187, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.3187, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3187, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.3188, allocations: 11.95 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3188, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 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.012e-05/0.3188, allocations: 114.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.3189, allocations: 11.89 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3189, allocations: 15.86 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3189, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3189, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3189, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3194, allocations: 441.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3194, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.3194, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3194, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.3194, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3194, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3194, allocations: 12 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.738e-05/0.3195, allocations: 77.88 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3196, allocations: 15.91 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3196, allocations: 3.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.3196, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.3196, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3196, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001365/0.3197, allocations: 121.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3197, allocations: 7.875 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001858/0.3199, allocations: 8 kB / 1.331 GB, free: 13.12 MB / 1.029 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.0004463/0.3204, allocations: 0.6171 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.3205, allocations: 19.94 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3205, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.3205, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3206, allocations: 8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.322, allocations: 1.337 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.3221, allocations: 87.11 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.3221, allocations: 4.438 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.3222, allocations: 27.42 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3222, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3445, allocations: 1.75 MB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.06, allocations: 13.8 kB / 1.334 GB, free: 9.266 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 18.918048166902736]