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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 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.00127/0.00127, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 62.78 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002344/0.2698, allocations: 0.831 MB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.27, allocations: 39.8 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.27, allocations: 0 / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.2701, allocations: 11.86 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.2702, allocations: 11.88 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.081e-05/0.2703, allocations: 15.98 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2704, allocations: 59.84 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2706, allocations: 55.95 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.2706, allocations: 27.86 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.2707, allocations: 31.8 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2707, allocations: 4 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.2707, allocations: 8 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2708, allocations: 15.92 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.2708, allocations: 39.73 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2709, allocations: 71.92 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2709, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2709, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2709, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 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.0004436/0.2714, allocations: 371.3 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2714, allocations: 12.62 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.2715, allocations: 38.73 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2715, allocations: 8.844 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.2718, allocations: 200.1 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2718, allocations: 12.28 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2718, allocations: 8.375 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.272, allocations: 85.2 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.272, allocations: 3.938 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.272, allocations: 8 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.272, allocations: 7.922 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.2721, allocations: 35.92 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.2727, allocations: 440.5 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.2727, allocations: 41.27 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.2728, allocations: 25.84 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.2728, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2728, allocations: 30.56 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2728, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.273, allocations: 53.48 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.2731, allocations: 85.34 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2733, allocations: 162.2 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2733, allocations: 25.7 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.2734, allocations: 104 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.2734, allocations: 3.906 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.2734, allocations: 25.64 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2736, allocations: 314.8 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.2736, allocations: 7.984 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.2736, allocations: 25.72 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.2737, allocations: 25.72 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2737, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.274e-05/0.2738, allocations: 61.53 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2738, allocations: 11.94 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2738, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2738, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.2739, allocations: 8.062 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2739, allocations: 7.984 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.274, allocations: 11.78 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.274, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 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.691e-05/0.2741, allocations: 113.8 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2741, allocations: 15.83 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.2742, allocations: 7.875 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2742, allocations: 3.938 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2742, allocations: 4 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2742, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.2746, allocations: 466.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2746, allocations: 7.875 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2746, allocations: 4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2746, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.2746, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2746, allocations: 3.984 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2747, allocations: 4.062 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.472e-05/0.2747, allocations: 77.84 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.2748, allocations: 89 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2748, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.2748, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.2749, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2749, allocations: 7.969 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.2749, allocations: 122.1 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2749, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001846/0.2751, allocations: 12 kB / 1.057 GB, free: 3.465 MB / 0.8106 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.0003771/0.2755, allocations: 0.6132 MB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.757e-05/0.2756, allocations: 15.94 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2756, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.2756, allocations: 11.98 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.2758, allocations: 12.97 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2771, allocations: 1.325 MB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2775, allocations: 0.6924 MB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.2775, allocations: 12.42 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.2776, allocations: 23.42 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.2776, allocations: 0 / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.2928, allocations: 1.542 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.985, allocations: 15.73 kB / 1.061 GB, free: 15.15 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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