Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001737/0.001737, 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.002305/0.002305, allocations: 220.6 kB / 22.25 MB, free: 5.105 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.507/1.507, 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.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.002079/0.002079, allocations: 67.38 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00221/0.3849, allocations: 0.8003 MB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001319/0.385, allocations: 43.78 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.3851, allocations: 0 / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.3851, allocations: 7.875 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.3852, allocations: 7.938 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.3852, allocations: 23.97 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3854, allocations: 59.78 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3855, allocations: 31.98 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.3856, allocations: 31.84 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.3856, allocations: 27.86 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3857, allocations: 8 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.3857, allocations: 4 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3857, allocations: 19.92 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.3857, allocations: 27.75 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3859, allocations: 79.84 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3859, allocations: 0 / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3859, allocations: 0 / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3859, allocations: 0 / 1.327 GB, free: 300 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.0004389/0.3863, allocations: 302 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3864, allocations: 16.03 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.3865, allocations: 42.73 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.3865, allocations: 12.89 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3867, allocations: 130.4 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3867, allocations: 12.28 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3867, allocations: 4.375 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3869, allocations: 93.83 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3869, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3869, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3869, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.387, allocations: 47.91 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3875, allocations: 387.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.3876, allocations: 41.27 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.3876, allocations: 25.83 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3877, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3877, allocations: 30.56 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3877, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.3879, allocations: 57.78 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3879, allocations: 85.05 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3881, allocations: 164.4 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3881, allocations: 29.64 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.3882, allocations: 112 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3882, allocations: 11.89 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3882, allocations: 13.72 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3884, allocations: 318.8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.3884, allocations: 8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.3884, allocations: 17.7 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.3884, allocations: 33.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3884, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.25e-05/0.3885, allocations: 53.59 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3886, allocations: 11.92 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3886, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3886, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.3886, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3886, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.3887, allocations: 11.95 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3887, allocations: 4.062 kB / 1.329 GB, free: 14.01 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.863e-05/0.3888, allocations: 125.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.3888, allocations: 11.89 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.3888, allocations: 11.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3888, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3888, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3888, allocations: 4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.3893, allocations: 437.9 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.3893, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3893, allocations: 4.062 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3893, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.559e-05/0.3894, allocations: 81.83 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.3894, allocations: 11.95 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3894, allocations: 7.922 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3894, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3895, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3895, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.3896, allocations: 125.3 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3896, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001857/0.3897, allocations: 11.94 kB / 1.33 GB, free: 13.09 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.0004193/0.3902, allocations: 0.6093 MB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.3903, allocations: 23.88 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3903, allocations: 0 / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.3903, allocations: 4 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.3904, allocations: 12.28 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3918, allocations: 1.33 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.3918, allocations: 87.11 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.3919, allocations: 4.438 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3919, allocations: 27.42 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3919, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.4218, allocations: 2.124 MB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 0 / 1.334 GB, free: 8.855 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.421744740975555]