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.001612/0.001612, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001918/0.001918, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.281/3.281, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.003012/0.003012, allocations: 71.78 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4148, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002329/0.4171, allocations: 0.8276 MB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.4172, allocations: 47.78 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.4173, allocations: 3.938 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.443e-05/0.4174, allocations: 11.86 kB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.4174, allocations: 7.875 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.328e-05/0.4175, allocations: 19.98 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.4176, allocations: 59.84 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4178, allocations: 35.91 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.4178, allocations: 27.88 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.4179, allocations: 31.83 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4179, allocations: 4 kB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.4179, allocations: 8 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.418, allocations: 19.88 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.418, allocations: 35.73 kB / 1.322 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.4182, allocations: 71.88 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4182, allocations: 0 / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4182, allocations: 0 / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4182, allocations: 0 / 1.322 GB, free: 2.109 MB / 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.000551/0.4187, allocations: 395.1 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4188, allocations: 11.98 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.4188, allocations: 38.75 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.4189, allocations: 8.891 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.4191, allocations: 196.2 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4191, allocations: 4.375 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4191, allocations: 12.38 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.4193, allocations: 99.8 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4193, allocations: 3.938 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4193, allocations: 0 / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4194, allocations: 4 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.4195, allocations: 35.98 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.42, allocations: 440.7 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.4201, allocations: 45.2 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.4202, allocations: 13.78 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.4202, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4202, allocations: 38.59 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4202, allocations: 0 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.4204, allocations: 69.47 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.4204, allocations: 77.11 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4206, allocations: 160.3 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4206, allocations: 25.7 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.4207, allocations: 108 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.4207, allocations: 7.891 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.4207, allocations: 17.72 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4209, allocations: 327.1 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.4209, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.421, allocations: 17.72 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.421, allocations: 29.64 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.421, allocations: 0 / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.917e-05/0.4211, allocations: 57.66 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4211, allocations: 12 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4211, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4211, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.4212, allocations: 11.98 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4212, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.4212, allocations: 3.953 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.4212, allocations: 4 kB / 1.324 GB, free: 15.6 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.794e-05/0.4213, allocations: 113.8 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4214, allocations: 11.89 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.4214, allocations: 11.88 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4214, allocations: 4 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4214, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4214, allocations: 3.984 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.4219, allocations: 474.8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4219, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.4219, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4219, allocations: 4.062 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.4219, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4219, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4219, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.947e-05/0.422, allocations: 85.77 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.4221, allocations: 89 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4221, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.4221, allocations: 4.031 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.4221, allocations: 3.984 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.4221, allocations: 8 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.841e-05/0.4222, allocations: 121.2 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4222, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001882/0.4224, allocations: 7.984 kB / 1.325 GB, free: 14.55 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.0004585/0.4229, allocations: 0.6171 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.423, allocations: 19.98 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.423, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.423, allocations: 11.88 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4232, allocations: 4.281 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4245, allocations: 1.332 MB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4249, allocations: 0.6924 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.4249, allocations: 12.42 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.425, allocations: 27.42 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.425, allocations: 0 / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4504, allocations: 1.571 MB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.566, allocations: 10.69 kB / 1.329 GB, free: 10.19 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.40077517204918]