Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_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.001431/0.001432, 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.001377/0.001377, allocations: 194.9 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 65.62 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2433, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001911/0.2453, allocations: 0.8248 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.2454, allocations: 47.78 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2454, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.2455, allocations: 7.875 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.2455, allocations: 3.938 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.236e-05/0.2456, allocations: 27.91 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.2457, allocations: 55.86 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2458, allocations: 47.95 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.2459, allocations: 27.8 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.2459, allocations: 27.84 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2459, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.2459, allocations: 4 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.246, allocations: 15.94 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.246, allocations: 43.67 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.384e-05/0.2461, allocations: 75.98 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2461, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2461, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2461, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 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.0003826/0.2465, allocations: 371.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2466, allocations: 8.031 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.2466, allocations: 38.75 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.2466, allocations: 12.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2468, allocations: 192.2 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2469, allocations: 12.38 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.2469, allocations: 8.312 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.247, allocations: 87.95 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.247, allocations: 3.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.247, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2471, allocations: 3.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.2471, allocations: 39.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.2476, allocations: 440.6 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.2477, allocations: 41.19 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.2477, allocations: 21.84 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.2477, allocations: 4 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2478, allocations: 30.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2478, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.2479, allocations: 57.47 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.248, allocations: 81.11 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2481, allocations: 169.5 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2482, allocations: 29.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.2482, allocations: 97.89 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.2482, allocations: 11.89 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.2483, allocations: 13.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2484, allocations: 318.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.2484, allocations: 8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.2484, allocations: 21.66 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.2485, allocations: 29.72 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2485, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.982e-05/0.2486, allocations: 61.47 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2486, allocations: 7.938 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.2486, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2486, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.2487, allocations: 8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2487, allocations: 64 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.2487, allocations: 15.84 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.2487, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 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.424e-05/0.2488, allocations: 117.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.2488, allocations: 11.84 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2489, allocations: 11.88 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2489, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2489, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2489, allocations: 8.078 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.2493, allocations: 470.8 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2493, allocations: 7.938 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.2493, allocations: 3.984 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2493, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.2493, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2493, allocations: 3.938 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2493, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.2494, allocations: 77.91 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.2495, allocations: 93 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.2495, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.2495, allocations: 4 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-06/0.2495, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2495, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.037e-05/0.2496, allocations: 123.3 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2496, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001723/0.2498, allocations: 8 kB / 1.068 GB, free: 9.469 MB / 0.8262 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.000354/0.2502, allocations: 0.6208 MB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.2502, allocations: 27.95 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2503, allocations: 0 / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.2503, allocations: 4 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2504, allocations: 9.406 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2515, allocations: 1.315 MB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2518, allocations: 0.6924 MB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.2518, allocations: 16.36 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.2519, allocations: 27.42 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2519, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.893/4.145, allocations: 1.549 MB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/12.62, allocations: 10.55 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches