Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001185/0.001185, allocations: 91.84 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.001814/0.001814, 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 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.605/2.605, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7961, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001087/0.7972, allocations: 0.5147 MB / 0.9816 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.7974, allocations: 43.84 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.7974, allocations: 0 / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.7975, allocations: 7.922 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.7975, allocations: 3.938 kB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.3e-05/0.7976, allocations: 15.98 kB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.7977, allocations: 51.86 kB / 0.9818 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.7978, allocations: 36.09 kB / 0.9818 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.7979, allocations: 19.88 kB / 0.9818 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.798, allocations: 23.78 kB / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.798, allocations: 0 / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.798, allocations: 4 kB / 0.9818 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.798, allocations: 7.984 kB / 0.9818 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.7981, allocations: 37.64 kB / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.7982, allocations: 50.14 kB / 0.9819 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7982, allocations: 7.938 kB / 0.9819 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7982, allocations: 0 / 0.9819 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7982, allocations: 0 / 0.9819 GB, free: 5.434 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.0004469/0.7987, allocations: 371 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7987, allocations: 8.031 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.7988, allocations: 46.55 kB / 0.9823 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.7988, allocations: 7.906 kB / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.799, allocations: 186.9 kB / 0.9825 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.7991, allocations: 12 kB / 0.9825 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.7991, allocations: 4 kB / 0.9825 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7993, allocations: 108.1 kB / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7993, allocations: 0 / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.7993, allocations: 0 / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7993, allocations: 7.984 kB / 0.9827 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.7994, allocations: 31.98 kB / 0.9827 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.7999, allocations: 436.7 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.8, allocations: 37.22 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.8, allocations: 17.78 kB / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.8, allocations: 7.984 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.8001, allocations: 38.59 kB / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8001, allocations: 0 / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.8002, allocations: 53.5 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.8003, allocations: 77.11 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8005, allocations: 172.3 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.8005, allocations: 29.7 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.8006, allocations: 100 kB / 0.9836 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.8006, allocations: 11.84 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.8006, allocations: 0 / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8007, allocations: 322.8 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.8007, allocations: 4 kB / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.8008, allocations: 17.72 kB / 0.9839 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.8008, allocations: 11.98 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8008, allocations: 7.875 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.826e-05/0.8009, allocations: 61.55 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8009, allocations: 4 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8009, allocations: 0 / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.801, allocations: 0 / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.801, allocations: 11.98 kB / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.801, allocations: 3.953 kB / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.8011, allocations: 0 / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8011, allocations: 8.062 kB / 0.9841 GB, free: 3 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.203e-05/0.8012, allocations: 113.8 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8012, allocations: 11.84 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.8013, allocations: 7.875 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8013, allocations: 4 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8013, allocations: 0 / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.8013, allocations: 7.938 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.8017, allocations: 470.7 kB / 0.9846 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8017, allocations: 0 / 0.9846 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.8017, allocations: 4 kB / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8017, allocations: 0 / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.8017, allocations: 7.953 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8017, allocations: 3.984 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8018, allocations: 4 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.504e-05/0.8018, allocations: 77.95 kB / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.8019, allocations: 81.02 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.8019, allocations: 4 kB / 0.9848 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.802, allocations: 11.95 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.802, allocations: 7.922 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.802, allocations: 4 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.8021, allocations: 114.1 kB / 0.9849 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8021, allocations: 0 / 0.9849 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001803/0.8023, allocations: 15.97 kB / 0.985 GB, free: 1.961 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.0003891/0.8027, allocations: 0.6063 MB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.8028, allocations: 28.02 kB / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8028, allocations: 0 / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.8028, allocations: 4 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.8029, allocations: 11.95 kB / 0.9856 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.8038, allocations: 0.543 MB / 0.9861 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.8041, allocations: 0.6926 MB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.8041, allocations: 12.48 kB / 0.9868 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.8042, allocations: 27.38 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of SimCode: time 1.684e-06/0.8042, allocations: 0 / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.8152, allocations: 1.485 MB / 0.9883 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8154, allocations: 202.1 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.603, allocations: 3.938 kB / 0.9885 GB, free: 14.33 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat