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.001801/0.001801, allocations: 108.2 kB / 16.45 MB, free: 6.488 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.002071/0.002071, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.7916 GB, free: 33.56 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.002034/0.002034, allocations: 71.83 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002472/0.3506, allocations: 0.8364 MB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.3508, allocations: 39.8 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.3508, allocations: 4 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.3509, allocations: 7.875 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.351, allocations: 11.88 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.088e-05/0.351, allocations: 23.97 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3512, allocations: 63.83 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3513, allocations: 27.92 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.3514, allocations: 27.86 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.3514, allocations: 31.8 kB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3515, allocations: 4 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.3515, allocations: 11.94 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.3515, allocations: 11.98 kB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.3516, allocations: 35.75 kB / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3517, allocations: 75.84 kB / 1.322 GB, free: 2.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3517, allocations: 4 kB / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3517, allocations: 0 / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3517, allocations: 4 kB / 1.322 GB, free: 2.074 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.0005844/0.3523, allocations: 387 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3524, allocations: 15.98 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.3524, allocations: 38.73 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.3524, allocations: 12.89 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3527, allocations: 184.3 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3527, allocations: 12.38 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3527, allocations: 4.375 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.3529, allocations: 103.8 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3529, allocations: 7.875 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.353, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.353, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.3531, allocations: 35.98 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.3538, allocations: 440.7 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.3538, allocations: 37.16 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.3539, allocations: 25.86 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3539, allocations: 4 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3539, allocations: 34.56 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3539, allocations: 0 / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.3541, allocations: 57.48 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.3542, allocations: 81.11 kB / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3544, allocations: 164.2 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3544, allocations: 25.7 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.3545, allocations: 104.3 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.3545, allocations: 7.953 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3545, allocations: 17.72 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3547, allocations: 322.8 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.3547, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.3547, allocations: 25.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.3548, allocations: 33.66 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3548, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001011/0.3549, allocations: 53.64 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3549, allocations: 17.59 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3549, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3549, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.355, allocations: 4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.355, allocations: 4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.3551, allocations: 3.953 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3551, allocations: 0 / 1.324 GB, free: 15.59 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.983e-05/0.3551, allocations: 117.9 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.3552, allocations: 11.89 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3552, allocations: 15.86 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3552, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3552, allocations: 4 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3552, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.3557, allocations: 474.8 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.3557, allocations: 4 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3557, allocations: 7.938 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.971e-05/0.3558, allocations: 89.83 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3559, allocations: 96.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3559, allocations: 4 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.3559, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.356, allocations: 8.016 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.356, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.732e-05/0.3561, allocations: 121.3 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3561, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001873/0.3562, allocations: 8 kB / 1.325 GB, free: 14.53 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.00045/0.3567, allocations: 0.621 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.3568, allocations: 12 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3568, allocations: 4.156 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.3568, allocations: 7.938 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.357, allocations: 8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3585, allocations: 1.326 MB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3588, allocations: 0.7001 MB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.3589, allocations: 4.438 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3589, allocations: 27.42 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3589, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.384, allocations: 1.582 MB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.716, allocations: 19.84 kB / 1.329 GB, free: 10.16 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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.69975628494285]