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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001059/0.001059, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001255/0.001256, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.762/2.762, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 11.98 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7346, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001485/0.7362, allocations: 0.5147 MB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.7364, allocations: 39.78 kB / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.7364, allocations: 4 kB / 0.9817 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.7365, allocations: 7.922 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.7366, allocations: 7.938 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.792e-05/0.7367, allocations: 19.92 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.7369, allocations: 51.84 kB / 0.9818 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.7371, allocations: 32.16 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.7372, allocations: 15.88 kB / 0.9818 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.7372, allocations: 19.86 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.7373, allocations: 4 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.7373, allocations: 0 / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.7373, allocations: 15.92 kB / 0.9819 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.7374, allocations: 37.64 kB / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.7375, allocations: 50.12 kB / 0.9819 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7375, allocations: 3.938 kB / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.288e-06/0.7376, allocations: 4 kB / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.7376, allocations: 0 / 0.9819 GB, free: 5.457 MB / 0.7325 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.0006262/0.7382, allocations: 371 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.7383, allocations: 12.03 kB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.7383, allocations: 38.55 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.7384, allocations: 7.906 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.7387, allocations: 183 kB / 0.9825 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.7387, allocations: 4 kB / 0.9825 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.7387, allocations: 8 kB / 0.9825 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.739, allocations: 103.2 kB / 0.9826 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.739, allocations: 0 / 0.9826 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.739, allocations: 8 kB / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.739, allocations: 0 / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.7391, allocations: 39.92 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.7398, allocations: 432.7 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.7399, allocations: 45.19 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.74, allocations: 21.83 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.74, allocations: 4 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.74, allocations: 30.56 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 5.03e-06/0.74, allocations: 0 / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000227/0.7403, allocations: 69.42 kB / 0.9833 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7404, allocations: 77.11 kB / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.7405, allocations: 168 kB / 0.9835 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.7406, allocations: 29.7 kB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.7407, allocations: 100 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.7407, allocations: 7.844 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.7407, allocations: 4 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7409, allocations: 323.1 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.7409, allocations: 4 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.7409, allocations: 21.72 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.741, allocations: 11.92 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.741, allocations: 0 / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.456e-05/0.7411, allocations: 53.61 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7411, allocations: 5.562 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7411, allocations: 8.062 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7411, allocations: 0 / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.7412, allocations: 11.92 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7412, allocations: 3.953 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.7412, allocations: 4 kB / 0.9841 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7413, allocations: 3.938 kB / 0.9841 GB, free: 3.027 MB / 0.7325 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.682e-05/0.7413, allocations: 113.8 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.7414, allocations: 7.906 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.7414, allocations: 11.88 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7414, allocations: 4 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7414, allocations: 3.984 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.7415, allocations: 7.953 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.7418, allocations: 462.7 kB / 0.9846 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7419, allocations: 4 kB / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.7419, allocations: 0 / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7419, allocations: 4 kB / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.7419, allocations: 8.016 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7419, allocations: 0 / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7419, allocations: 0 / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.742, allocations: 81.83 kB / 0.9847 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.7421, allocations: 85.02 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.7421, allocations: 3.938 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.7421, allocations: 7.953 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.7422, allocations: 12.02 kB / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.7422, allocations: 0 / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001041/0.7423, allocations: 121.1 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7423, allocations: 0 / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001861/0.7425, allocations: 11.94 kB / 0.985 GB, free: 1.988 MB / 0.7325 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.0004287/0.7429, allocations: 0.6093 MB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.302e-05/0.743, allocations: 19.98 kB / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.743, allocations: 0 / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.743, allocations: 7.938 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.7432, allocations: 11.95 kB / 0.9856 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.7441, allocations: 0.5469 MB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.7445, allocations: 0.6887 MB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.7445, allocations: 8.422 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.7446, allocations: 23.44 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.7446, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.7597, allocations: 1.495 MB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.76, allocations: 193.4 kB / 0.9885 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.619, allocations: 0 / 0.9885 GB, free: 14.38 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat does not exist to compare? outputFormat=mat