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.001804/0.001804, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002296/0.002296, allocations: 220 kB / 22.25 MB, free: 5.102 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.793 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.189/3.189, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",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.002054/0.002054, allocations: 67.25 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3775, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002015/0.3796, allocations: 0.7822 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001221/0.3797, allocations: 47.78 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.3797, allocations: 0 / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3798, allocations: 11.81 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.3799, allocations: 15.86 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.297e-05/0.3799, allocations: 15.98 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.38, allocations: 59.84 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3802, allocations: 39.97 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.3802, allocations: 27.86 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.3803, allocations: 23.86 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3803, allocations: 19.88 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.3803, allocations: 4 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.3803, allocations: 11.98 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.3804, allocations: 27.8 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3805, allocations: 79.86 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3805, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3805, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3805, allocations: 0 / 1.327 GB, free: 336 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.0004279/0.3809, allocations: 302 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/0.381, allocations: 16.02 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.381, allocations: 34.75 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.3811, allocations: 12.89 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3813, allocations: 134.4 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3813, allocations: 12.28 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3813, allocations: 8.375 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3815, allocations: 95.88 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3815, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3815, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3815, allocations: 7.984 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.3816, allocations: 31.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3821, allocations: 395.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.3822, allocations: 41.09 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.3822, allocations: 17.83 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.3822, allocations: 4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3823, allocations: 38.59 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3823, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.3824, allocations: 57.53 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3825, allocations: 77.11 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3827, allocations: 164.3 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3827, allocations: 29.7 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.3828, allocations: 104 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.3828, allocations: 3.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3828, allocations: 25.64 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.383, allocations: 318.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.383, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.383, allocations: 25.7 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.3831, allocations: 25.66 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3831, allocations: 8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.874e-05/0.3832, allocations: 57.64 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3832, allocations: 7.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3832, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3832, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.3833, allocations: 7.938 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3833, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.3833, allocations: 7.953 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3833, allocations: 0 / 1.329 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.673e-05/0.3834, allocations: 120.1 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.3834, allocations: 15.95 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3835, allocations: 15.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3835, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3835, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3835, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3839, allocations: 437.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3839, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.3839, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3839, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3839, allocations: 3.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3839, allocations: 4.062 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3839, allocations: 3.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.719e-05/0.384, allocations: 89.78 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.384, allocations: 11.94 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3841, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.3841, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.3841, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3841, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001448/0.3842, allocations: 125.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3842, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001901/0.3844, allocations: 12.03 kB / 1.33 GB, free: 13.13 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.0004268/0.3848, allocations: 0.6132 MB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.3849, allocations: 16 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3849, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.3849, allocations: 7.938 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3851, allocations: 10.69 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3864, allocations: 1.335 MB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.3865, allocations: 87.11 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.3865, allocations: 4.438 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3866, allocations: 23.42 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3866, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.4159, allocations: 2.135 MB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 8.734 kB / 1.334 GB, free: 8.887 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.41151055600494]