Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_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.007234/0.007234, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001951/0.001951, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 65.62 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001917/0.2853, allocations: 0.8257 MB / 1.242 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.2854, allocations: 51.72 kB / 1.242 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.2855, allocations: 0 / 1.242 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.2855, allocations: 3.938 kB / 1.242 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.2856, allocations: 11.88 kB / 1.242 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.219e-05/0.2856, allocations: 15.97 kB / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2857, allocations: 59.91 kB / 1.242 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2859, allocations: 51.83 kB / 1.242 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.2859, allocations: 23.92 kB / 1.242 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.286, allocations: 27.8 kB / 1.243 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.286, allocations: 8 kB / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.286, allocations: 8 kB / 1.243 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.2861, allocations: 19.92 kB / 1.243 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.2861, allocations: 31.8 kB / 1.243 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2862, allocations: 79.8 kB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2863, allocations: 0 / 1.243 GB, free: 8.062 MB / 0.9669 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.0004237/0.2867, allocations: 379.1 kB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2867, allocations: 12.03 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.2868, allocations: 42.73 kB / 1.243 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2868, allocations: 12.84 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.287, allocations: 204.1 kB / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2871, allocations: 4.375 kB / 1.243 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2871, allocations: 12.31 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2872, allocations: 87.94 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2873, allocations: 3.938 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2873, allocations: 8 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2873, allocations: 4 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.2874, allocations: 39.92 kB / 1.243 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.2879, allocations: 428.8 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.288, allocations: 37.19 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.288, allocations: 25.84 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.288, allocations: 3.984 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2881, allocations: 30.56 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2881, allocations: 0 / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001604/0.2882, allocations: 57.53 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2883, allocations: 81.36 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2885, allocations: 160.5 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2885, allocations: 25.7 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.2886, allocations: 104.1 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-06/0.2886, allocations: 7.891 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2886, allocations: 17.72 kB / 1.244 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2888, allocations: 318.8 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.2888, allocations: 4 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.2888, allocations: 33.64 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.2889, allocations: 21.72 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2889, allocations: 0 / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.952e-05/0.289, allocations: 61.55 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.289, allocations: 13.81 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.289, allocations: 3.984 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.289, allocations: 0 / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.2891, allocations: 8.062 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2891, allocations: 4 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.2891, allocations: 0 / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.2891, allocations: 0 / 1.245 GB, free: 5.582 MB / 0.9669 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.776e-05/0.2892, allocations: 114.4 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.2893, allocations: 15.83 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.2893, allocations: 15.86 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2893, allocations: 0 / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2893, allocations: 0 / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2893, allocations: 8 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.2897, allocations: 474.7 kB / 1.245 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2898, allocations: 0 / 1.245 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.2898, allocations: 7.875 kB / 1.245 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2898, allocations: 4 kB / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.2898, allocations: 0 / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2898, allocations: 0 / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2898, allocations: 64 / 1.245 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.39e-05/0.2899, allocations: 85.88 kB / 1.245 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.29, allocations: 85.06 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.29, allocations: 3.984 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.29, allocations: 4 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.29, allocations: 4.078 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.29, allocations: 4.031 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001088/0.2902, allocations: 123.2 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2902, allocations: 0 / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001981/0.2904, allocations: 11.94 kB / 1.246 GB, free: 4.527 MB / 0.9669 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.0003947/0.2908, allocations: 0.621 MB / 1.246 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.2908, allocations: 15.94 kB / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2909, allocations: 0 / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.2909, allocations: 4 kB / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.291, allocations: 8 kB / 1.246 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2923, allocations: 1.337 MB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2926, allocations: 0.6963 MB / 1.248 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2926, allocations: 4.438 kB / 1.248 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.2927, allocations: 23.42 kB / 1.248 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2927, allocations: 0 / 1.248 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.3137, allocations: 1.578 MB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.993, allocations: 11.94 kB / 1.25 GB, free: 188 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches