Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001709/0.001709, 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.002158/0.002158, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.328/3.328, allocations: 0.49 GB / 0.7959 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.To_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_12_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.002039/0.002039, allocations: 63.86 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002873/0.417, allocations: 0.79 MB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001974/0.4172, allocations: 43.78 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.4173, allocations: 4 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.4173, allocations: 7.922 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4175, allocations: 7.875 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.341e-05/0.4175, allocations: 19.98 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.4177, allocations: 63.78 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.4179, allocations: 39.95 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.418, allocations: 23.81 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.418, allocations: 31.84 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.418, allocations: 8 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.4181, allocations: 8 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.4181, allocations: 11.94 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.4181, allocations: 31.8 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.4183, allocations: 83.8 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4183, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4183, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.4183, allocations: 0 / 1.328 GB, free: 344 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.0005234/0.4188, allocations: 306 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/0.4189, allocations: 8.078 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.4189, allocations: 8.188 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.419, allocations: 38.75 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.419, allocations: 12.83 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.4192, allocations: 134.3 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4192, allocations: 8.375 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.4192, allocations: 8.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4194, allocations: 95.69 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4194, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4195, allocations: 4 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4195, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.4196, allocations: 39.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.4202, allocations: 391.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.4203, allocations: 41.28 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.4204, allocations: 17.84 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.4204, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.4204, allocations: 42.5 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4204, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002274/0.4206, allocations: 53.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.4207, allocations: 81.14 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4209, allocations: 159.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.421, allocations: 29.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4211, allocations: 104 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.4211, allocations: 7.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.4211, allocations: 21.66 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4213, allocations: 318.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.4214, allocations: 7.938 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.4214, allocations: 17.72 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.4215, allocations: 29.72 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4215, allocations: 3.938 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.4216, allocations: 61.58 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4216, allocations: 13.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4216, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4216, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.4217, allocations: 8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4217, allocations: 7.984 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.4218, allocations: 3.953 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.4218, allocations: 64 / 1.33 GB, free: 14.06 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 0.0001118/0.4219, allocations: 118.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.4219, allocations: 11.89 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.422, allocations: 11.81 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.422, allocations: 3.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.422, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.422, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.4225, allocations: 437.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4225, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.4225, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4225, allocations: 4.062 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4225, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4225, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4225, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.4227, allocations: 81.88 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.4227, allocations: 11.91 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.4227, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.4227, allocations: 4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.4227, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4228, allocations: 3.938 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000112/0.4229, allocations: 125.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4229, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002275/0.4231, allocations: 12 kB / 1.331 GB, free: 13.14 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.0004829/0.4236, allocations: 0.6054 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.4237, allocations: 23.92 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4237, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.4237, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4239, allocations: 12.28 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.4254, allocations: 1.33 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.836e-05/0.4255, allocations: 87.06 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.4256, allocations: 12.5 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.4257, allocations: 23.44 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of SimCode: time 9.01e-07/0.4257, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.4486, allocations: 1.752 MB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 13.98 kB / 1.334 GB, free: 9.281 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.238390763057396]