Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.001597/0.001597, 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.001305/0.001305, 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.689/2.689, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003881, allocations: 8 kB / 0.8378 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7175, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001713/0.7192, allocations: 1.353 MB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.7212, allocations: 1.278 MB / 0.9837 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.7214, allocations: 7.938 kB / 0.9837 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.7217, allocations: 71.72 kB / 0.9838 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.7219, allocations: 75.58 kB / 0.9838 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.7225, allocations: 199.5 kB / 0.984 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.7228, allocations: 223.1 kB / 0.9842 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.7229, allocations: 5.5 kB / 0.9843 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.723, allocations: 71.7 kB / 0.9843 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.7232, allocations: 95.67 kB / 0.9844 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.7232, allocations: 4 kB / 0.9844 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.7237, allocations: 279.6 kB / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.7238, allocations: 67.78 kB / 0.9847 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.7238, allocations: 57.58 kB / 0.9848 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.7242, allocations: 263.4 kB / 0.9851 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7242, allocations: 0 / 0.9851 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7242, allocations: 0 / 0.9851 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.7242, allocations: 0 / 0.9851 GB, free: 2.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008417/0.7251, allocations: 0.5295 MB / 0.9856 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7251, allocations: 12.03 kB / 0.9856 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.7252, allocations: 34.56 kB / 0.9856 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.7252, allocations: 19.72 kB / 0.9856 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.7256, allocations: 266.5 kB / 0.9859 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.7257, allocations: 71.33 kB / 0.986 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7257, allocations: 4 kB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.7259, allocations: 93.61 kB / 0.986 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.726, allocations: 0 / 0.986 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.726, allocations: 0 / 0.986 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.726, allocations: 7.875 kB / 0.9861 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.7262, allocations: 107.9 kB / 0.9862 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.7265, allocations: 261.3 kB / 0.9864 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.7277, allocations: 338.3 kB / 0.9867 GB, free: 364 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.7279, allocations: 60.81 kB / 0.9868 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.728, allocations: 101.1 kB / 0.9869 GB, free: 180 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.728, allocations: 34.56 kB / 0.9869 GB, free: 136 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.728, allocations: 0 / 0.9869 GB, free: 136 kB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.00045/0.7285, allocations: 217.5 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.7285, allocations: 51.41 kB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.7288, allocations: 303.1 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.7289, allocations: 25.7 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.7289, allocations: 124.5 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.729, allocations: 23.66 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.729, allocations: 0 / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7291, allocations: 334.8 kB / 0.988 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.7293, allocations: 159.9 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.7295, allocations: 159.9 kB / 0.9883 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.7297, allocations: 160 kB / 0.9884 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7297, allocations: 4 kB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005217/0.7302, allocations: 405 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7303, allocations: 4 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7303, allocations: 64 / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7303, allocations: 11.95 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.7304, allocations: 19.98 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.7304, allocations: 3.938 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.7305, allocations: 35.52 kB / 0.9889 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.7306, allocations: 4 kB / 0.9889 GB, free: 14.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001007/0.7307, allocations: 125.8 kB / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.7307, allocations: 19.72 kB / 0.989 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.731, allocations: 175.4 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.7311, allocations: 3.953 kB / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7311, allocations: 0 / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7311, allocations: 0 / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.7313, allocations: 237.6 kB / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7313, allocations: 0 / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.7314, allocations: 27.86 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7314, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.7314, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7314, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7314, allocations: 3.953 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.7317, allocations: 188.8 kB / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.7318, allocations: 108.8 kB / 0.9897 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.7319, allocations: 0 / 0.9897 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.7319, allocations: 7.984 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.732, allocations: 8 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.732, allocations: 3.953 kB / 0.9897 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001792/0.7322, allocations: 201.9 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.804e-06/0.7322, allocations: 0 / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000436/0.7326, allocations: 119.9 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0008914/0.7335, allocations: 0.8035 MB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.7341, allocations: 359.2 kB / 0.9912 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7341, allocations: 4 kB / 0.9912 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.7342, allocations: 63.95 kB / 0.9912 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.7346, allocations: 34.12 kB / 0.9913 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.7366, allocations: 1.536 MB / 0.9928 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.7369, allocations: 0.736 MB / 0.9935 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.786e-05/0.737, allocations: 17.39 kB / 0.9935 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.7371, allocations: 55.42 kB / 0.9936 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7371, allocations: 0 / 0.9936 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.7529, allocations: 5.237 MB / 0.9987 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.7531, allocations: 213.8 kB / 0.9989 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.693, allocations: 0 / 0.9989 GB, free: 3.797 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat