Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001941, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7073, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002285/0.7096, allocations: 0.8158 MB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.7098, allocations: 43.84 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.7098, allocations: 2.75 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.7099, allocations: 11.86 kB / 0.9506 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.71, allocations: 3.938 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.625e-05/0.71, allocations: 24.05 kB / 0.9506 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7102, allocations: 55.28 kB / 0.9507 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.7103, allocations: 48.41 kB / 0.9507 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.7104, allocations: 20.17 kB / 0.9507 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.7104, allocations: 31.91 kB / 0.9508 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.7105, allocations: 6.875 kB / 0.9508 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.7105, allocations: 9.5 kB / 0.9508 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.7105, allocations: 18.67 kB / 0.9508 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.7106, allocations: 34.62 kB / 0.9508 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.7107, allocations: 74.33 kB / 0.9509 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7107, allocations: 5.312 kB / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.576e-06/0.7107, allocations: 0 / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7107, allocations: 0 / 0.9509 GB, free: 8.32 MB / 0.7169 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.0003462/0.7111, allocations: 377.9 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7111, allocations: 10.06 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.7111, allocations: 45.55 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.7112, allocations: 8.625 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.7114, allocations: 191 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7114, allocations: 7.562 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7114, allocations: 8.75 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.7116, allocations: 94.69 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7116, allocations: 5.594 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.7116, allocations: 0 / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.7116, allocations: 7.25 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.7117, allocations: 39.2 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.7122, allocations: 428.6 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.7123, allocations: 49.3 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.7123, allocations: 23.05 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.7124, allocations: 1.125 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.7124, allocations: 31.62 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.7124, allocations: 0 / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001936/0.7126, allocations: 55.05 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.7126, allocations: 82.64 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.7128, allocations: 164.6 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.7128, allocations: 26.95 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.7128, allocations: 112.3 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.7129, allocations: 9.656 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.7129, allocations: 16.2 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.713, allocations: 322 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.713, allocations: 10.53 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.713, allocations: 23.14 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.7131, allocations: 25.44 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7131, allocations: 1.156 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.7132, allocations: 59.31 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7132, allocations: 8.125 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7132, allocations: 5.125 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7132, allocations: 1.375 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.7133, allocations: 4.5 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7133, allocations: 1.031 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.7134, allocations: 2.406 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.7134, allocations: 5.312 kB / 0.9531 GB, free: 6.105 MB / 0.7169 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 5.423e-05/0.7135, allocations: 114 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.7135, allocations: 12.12 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.7136, allocations: 14.61 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7136, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7136, allocations: 1.375 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7136, allocations: 0 / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.714, allocations: 479.2 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.714, allocations: 0 / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.714, allocations: 7.75 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7141, allocations: 0 / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.7141, allocations: 5.375 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7141, allocations: 3.938 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7141, allocations: 1.25 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.724e-05/0.7142, allocations: 78.83 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.7142, allocations: 95.5 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.7142, allocations: 1.281 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.7143, allocations: 5.281 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.7143, allocations: 1.25 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.7143, allocations: 0 / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.7144, allocations: 124.2 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7144, allocations: 0 / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003553/0.7148, allocations: 7.469 kB / 0.954 GB, free: 5.148 MB / 0.7169 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.0002624/0.715, allocations: 0.6196 MB / 0.9546 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.7151, allocations: 17.91 kB / 0.9546 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7152, allocations: 1.375 kB / 0.9546 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.7152, allocations: 3.531 kB / 0.9546 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.7154, allocations: 6.719 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.7166, allocations: 1.327 MB / 0.9559 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.7167, allocations: 0.6986 MB / 0.9566 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.7167, allocations: 8.016 kB / 0.9566 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.7168, allocations: 22.97 kB / 0.9566 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7168, allocations: 1.281 kB / 0.9566 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.7344, allocations: 1.542 MB / 0.9581 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.728, allocations: 10.22 kB / 0.9581 GB, free: 1.688 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches