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.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.001413/0.001413, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001591/0.001591, allocations: 214.5 kB / 23.03 MB, free: 4.949 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.002028/0.002028, allocations: 65.12 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 170 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002401/0.3597, allocations: 0.7868 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.3599, allocations: 43.78 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.3599, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.36, allocations: 7.875 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.3601, allocations: 15.86 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.3601, allocations: 15.98 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3603, allocations: 67.84 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3604, allocations: 33.48 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.3605, allocations: 27.86 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.3606, allocations: 23.86 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3606, allocations: 11.98 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.3606, allocations: 4 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.3606, allocations: 23.86 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3607, allocations: 23.8 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3608, allocations: 75.17 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3608, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3608, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3608, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 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.0005102/0.3613, allocations: 306 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3614, allocations: 16.02 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.3614, allocations: 192 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.3614, allocations: 42.75 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3615, allocations: 8.891 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3617, allocations: 146.3 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3617, allocations: 4.375 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3618, allocations: 8.375 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.362, allocations: 109.6 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.362, allocations: 4 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.362, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.362, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.3621, allocations: 35.98 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.3627, allocations: 387.8 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.3628, allocations: 37.16 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.3628, allocations: 21.83 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3628, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3629, allocations: 42.53 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3629, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.3631, allocations: 49.59 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3631, allocations: 85.09 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3633, allocations: 154.3 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3633, allocations: 25.7 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.3634, allocations: 111.9 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3634, allocations: 11.94 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3634, allocations: 17.7 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3636, allocations: 319.1 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.3636, allocations: 15.98 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.3636, allocations: 13.72 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.3637, allocations: 33.59 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3637, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.3638, allocations: 57.64 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3638, allocations: 7.938 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3638, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3638, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.3639, allocations: 16 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3639, allocations: 3.984 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.3639, allocations: 7.953 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3639, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 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 9.129e-05/0.364, allocations: 113.8 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3641, allocations: 11.89 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.3641, allocations: 15.8 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3641, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3641, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3641, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.3645, allocations: 445.8 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3645, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.3646, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3646, allocations: 4 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.3646, allocations: 4 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3646, allocations: 3.984 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3646, allocations: 0 / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.3647, allocations: 81.83 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.3647, allocations: 15.94 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3647, allocations: 4.094 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.3647, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.3647, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.3648, allocations: 4.094 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.828e-05/0.3649, allocations: 126 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3649, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001947/0.365, allocations: 7.953 kB / 1.288 GB, free: 6.41 MB / 0.9825 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.0004488/0.3655, allocations: 0.6171 MB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.473e-05/0.3656, allocations: 16.03 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3656, allocations: 4 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3656, allocations: 3.938 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.3658, allocations: 18.03 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3671, allocations: 1.332 MB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.018e-05/0.3671, allocations: 83.89 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.3672, allocations: 12.42 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.3672, allocations: 19.44 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3672, allocations: 0 / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3902, allocations: 1.756 MB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 6.734 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.004 --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: 18.887210474000312]