Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001389/0.001389, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001424/0.001424, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.331/1.331, allocations: 225.6 MB / 249.3 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 67.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8049, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001695/0.8066, allocations: 0.8388 MB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.471e-05/0.8066, allocations: 49.03 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.8067, allocations: 1.469 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.8067, allocations: 9.703 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.8068, allocations: 10.16 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.436e-05/0.8068, allocations: 20.3 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.8069, allocations: 60.19 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.807, allocations: 34.73 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.8071, allocations: 30.44 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.8072, allocations: 27.42 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.8072, allocations: 5.969 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.8072, allocations: 10.38 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.8072, allocations: 16 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.8072, allocations: 36.2 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8073, allocations: 73.03 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8073, allocations: 0.9062 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8073, allocations: 0 / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8073, allocations: 3.938 kB / 1.273 GB, free: 6.938 MB / 0.9981 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.0003063/0.8076, allocations: 381 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.8077, allocations: 9.438 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.8077, allocations: 43.14 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.8077, allocations: 18.33 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.8079, allocations: 191.6 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.8079, allocations: 12.02 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.8079, allocations: 5.938 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.808, allocations: 96.06 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.808, allocations: 4.734 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.808, allocations: 0.7188 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8081, allocations: 6.281 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.8081, allocations: 43.52 kB / 1.273 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.8085, allocations: 438.8 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.8086, allocations: 37.53 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.8086, allocations: 23.59 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.8086, allocations: 5.281 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.8086, allocations: 32.12 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8086, allocations: 0 / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.8087, allocations: 57.41 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.8088, allocations: 82.59 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.8089, allocations: 158.8 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.8089, allocations: 25.7 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.8089, allocations: 104.1 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.8089, allocations: 6.484 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.809, allocations: 17.7 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.809, allocations: 323.5 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.809, allocations: 5.094 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.809, allocations: 23.41 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.8091, allocations: 27.42 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8091, allocations: 0 / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.951e-05/0.8091, allocations: 61.84 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.8092, allocations: 9.469 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.8092, allocations: 0.9688 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8092, allocations: 4.812 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.8092, allocations: 7.094 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8092, allocations: 1.031 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.8093, allocations: 5.812 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.8093, allocations: 1.812 kB / 1.275 GB, free: 4.805 MB / 0.9981 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 4.291e-05/0.8093, allocations: 114.7 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.8093, allocations: 15.75 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.8094, allocations: 14 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.8094, allocations: 0.9375 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8094, allocations: 5.125 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.8094, allocations: 0 / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.8096, allocations: 465.2 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8096, allocations: 1.062 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.8096, allocations: 5.516 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8096, allocations: 1.031 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.8096, allocations: 4.969 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.8096, allocations: 64 / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8096, allocations: 5.156 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.954e-05/0.8097, allocations: 87.62 kB / 1.275 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.8097, allocations: 86.8 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.8097, allocations: 0.9375 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.8098, allocations: 6.906 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.8098, allocations: 5.875 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8098, allocations: 0.6875 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.8098, allocations: 120.6 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8098, allocations: 1 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001736/0.81, allocations: 6.188 kB / 1.276 GB, free: 3.887 MB / 0.9981 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.0001997/0.8102, allocations: 0.6195 MB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.8103, allocations: 19.14 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8103, allocations: 0 / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.8103, allocations: 8.641 kB / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.8104, allocations: 11.56 kB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.8113, allocations: 1.339 MB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.8116, allocations: 0.6913 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.8116, allocations: 12.12 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.8117, allocations: 22.42 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.8117, allocations: 1 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.8327, allocations: 1.57 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/7.564, allocations: 7.531 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 12.931100926999534]