Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_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.0007746/0.0007747, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008382/0.0008382, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009119/0.000912, allocations: 16.41 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2985, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009636/0.2995, allocations: 0.5441 MB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.2996, allocations: 39.78 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.2997, allocations: 7.938 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2997, allocations: 3.938 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.2998, allocations: 11.92 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.48e-05/0.2998, allocations: 8 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.2999, allocations: 59.84 kB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3, allocations: 33.56 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.3001, allocations: 23.81 kB / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.3001, allocations: 23.84 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3002, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.3002, allocations: 0 / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3002, allocations: 7.938 kB / 0.7882 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.3002, allocations: 41.64 kB / 0.7882 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.62e-05/0.3003, allocations: 64.08 kB / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3003, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3003, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.3003, allocations: 0 / 0.7883 GB, free: 10.95 MB / 0.6075 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.0003696/0.3007, allocations: 375 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3008, allocations: 8.031 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.3008, allocations: 46.55 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.3008, allocations: 11.91 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.301, allocations: 198.8 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.3011, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3011, allocations: 12 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3012, allocations: 87.39 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3012, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.3012, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3013, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.3013, allocations: 39.92 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.3019, allocations: 448.5 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.3019, allocations: 49.23 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.302, allocations: 18.91 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.302, allocations: 3.938 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.302, allocations: 46.53 kB / 0.7895 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.302, allocations: 0 / 0.7895 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000172/0.3022, allocations: 49.55 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3023, allocations: 85.05 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3024, allocations: 175.6 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3024, allocations: 29.69 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3025, allocations: 107.9 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.3025, allocations: 7.922 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.3025, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3026, allocations: 318.8 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.3027, allocations: 11.98 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.3027, allocations: 13.72 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.3027, allocations: 12 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3027, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.441e-05/0.3028, allocations: 69.39 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3028, allocations: 8 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3028, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3029, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.3029, allocations: 8 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3029, allocations: 4 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.303, allocations: 4.062 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.303, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.3031, allocations: 113.8 kB / 0.7905 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3031, allocations: 15.86 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3032, allocations: 12.55 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3032, allocations: 4 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3032, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3032, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.3036, allocations: 494.6 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3036, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.3036, allocations: 4 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3036, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3036, allocations: 3.938 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3036, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3036, allocations: 3.938 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.3037, allocations: 85.91 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3038, allocations: 89.02 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3038, allocations: 0 / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3038, allocations: 0 / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.3039, allocations: 3.984 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3039, allocations: 4 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.304, allocations: 124 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.304, allocations: 4.031 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001799/0.3042, allocations: 8 kB / 0.7913 GB, free: 7.418 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003763/0.3045, allocations: 0.6209 MB / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.3046, allocations: 23.97 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3046, allocations: 0 / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.3047, allocations: 11.94 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3048, allocations: 4 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.3056, allocations: 0.5918 MB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3059, allocations: 0.7004 MB / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.3059, allocations: 8.422 kB / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.306, allocations: 23.44 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.306, allocations: 0 / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.3188, allocations: 1.6 MB / 0.7948 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.319, allocations: 186.8 kB / 0.795 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.187, allocations: 4.062 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) Environment - environmentSimulation: