Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.004899/0.004899, allocations: 103.5 kB / 15.74 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.352/2.352, allocations: 390.3 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.56 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2335, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001845/0.2353, allocations: 0.8215 MB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.2355, allocations: 39.84 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.2355, allocations: 3.938 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2356, allocations: 11.92 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.2357, allocations: 11.88 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.479e-05/0.2357, allocations: 19.98 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.2358, allocations: 55.84 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.236, allocations: 55.88 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.236, allocations: 19.88 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.2361, allocations: 31.84 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2361, allocations: 4 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.2361, allocations: 11.94 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.2362, allocations: 8 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2362, allocations: 43.73 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2363, allocations: 74.45 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2363, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2363, allocations: 4 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2364, allocations: 4 kB / 1.089 GB, free: 0.7383 MB / 0.8419 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.0003851/0.2367, allocations: 380 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2368, allocations: 12.03 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2368, allocations: 34.75 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2369, allocations: 20.73 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2371, allocations: 188.2 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2371, allocations: 8.375 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2371, allocations: 4.375 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2373, allocations: 95.95 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2373, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2373, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2373, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.2374, allocations: 43.91 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.2379, allocations: 436.6 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.2379, allocations: 41.19 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.238, allocations: 21.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.238, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.238, allocations: 30.56 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.238, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.2382, allocations: 61.47 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2382, allocations: 77.11 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2384, allocations: 164.8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2384, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.2385, allocations: 100 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.2385, allocations: 7.906 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.2385, allocations: 17.97 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.2386, allocations: 322.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.2386, allocations: 11.94 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.2387, allocations: 13.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.2387, allocations: 29.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2387, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.328e-05/0.2388, allocations: 61.55 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2388, allocations: 9.656 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2388, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2389, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.2389, allocations: 11.98 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.2389, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.239, allocations: 11.84 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.239, allocations: 4 kB / 1.091 GB, free: 14.26 MB / 0.8575 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 7.224e-05/0.2391, allocations: 117.9 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2391, allocations: 11.84 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.2391, allocations: 11.81 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2391, allocations: 7.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2392, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2392, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.2395, allocations: 470.8 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2395, allocations: 64 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.2396, allocations: 12.03 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2396, allocations: 3.984 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.2396, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2396, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2396, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.2397, allocations: 77.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.2397, allocations: 89.05 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2397, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.2398, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.2398, allocations: 7.922 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2398, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.2399, allocations: 117.3 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.362e-06/0.2399, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001937/0.2401, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 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.000344/0.2404, allocations: 0.6171 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.2405, allocations: 19.94 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2405, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.2405, allocations: 4.219 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.2407, allocations: 11.97 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2418, allocations: 1.331 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.242, allocations: 0.6929 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.2421, allocations: 12.42 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.2421, allocations: 27.42 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2421, allocations: 0 / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.2587, allocations: 1.572 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.208, allocations: 4.062 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches