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.000967/0.0009669, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009796/0.0009797, allocations: 177.3 kB / 15.95 MB, free: 216 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.544/2.544, allocations: 409.2 MB / 0.6838 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 11.98 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7637, allocations: 146.8 MB / 0.9809 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001758/0.7655, allocations: 1.31 MB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.7674, allocations: 1.258 MB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.7676, allocations: 4 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.7679, allocations: 79.64 kB / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.768, allocations: 55.83 kB / 0.9835 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.7686, allocations: 203.5 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.7688, allocations: 111.8 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.7689, allocations: 9.438 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.769, allocations: 75.75 kB / 0.9839 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.709e-05/0.7691, allocations: 67.75 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.7691, allocations: 8 kB / 0.984 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.7696, allocations: 263.6 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.7697, allocations: 59.81 kB / 0.9843 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.7697, allocations: 57.58 kB / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.7701, allocations: 263.4 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7701, allocations: 4 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7701, allocations: 0 / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7701, allocations: 0 / 0.9846 GB, free: 2.508 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.000872/0.771, allocations: 0.5295 MB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.771, allocations: 12.03 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.7711, allocations: 38.56 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.7711, allocations: 19.72 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.7716, allocations: 282.4 kB / 0.9854 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7717, allocations: 59.41 kB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.7717, allocations: 8 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.7719, allocations: 97.59 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.772, allocations: 0 / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.772, allocations: 0 / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.772, allocations: 0 / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.7723, allocations: 103.9 kB / 0.9857 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.7726, allocations: 261.3 kB / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.774, allocations: 334.3 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.7742, allocations: 97.09 kB / 0.9863 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.7742, allocations: 38.69 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.7742, allocations: 0 / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0005086/0.7747, allocations: 213.3 kB / 0.9866 GB, free: 244 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.7748, allocations: 51.41 kB / 0.9866 GB, free: 180 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.7751, allocations: 311 kB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.7751, allocations: 29.7 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.7752, allocations: 116.6 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7752, allocations: 31.58 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.7753, allocations: 0 / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7754, allocations: 334.8 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.7756, allocations: 155.9 kB / 0.9876 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.7759, allocations: 159.9 kB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.7761, allocations: 163.9 kB / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7762, allocations: 0 / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005778/0.7767, allocations: 409 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7768, allocations: 4 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7768, allocations: 0 / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7768, allocations: 7.953 kB / 0.9883 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.7769, allocations: 15.94 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.777, allocations: 3.984 kB / 0.9883 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7771, allocations: 35.53 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.7771, allocations: 4 kB / 0.9883 GB, free: 14.4 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.0001242/0.7772, allocations: 125.8 kB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.7773, allocations: 23.7 kB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.7777, allocations: 175.4 kB / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7777, allocations: 0 / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.7777, allocations: 7.953 kB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7777, allocations: 0 / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.778, allocations: 237.9 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.778, allocations: 0 / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.7781, allocations: 19.94 kB / 0.9889 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7781, allocations: 3.938 kB / 0.9889 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.7781, allocations: 7.984 kB / 0.9889 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.7781, allocations: 4 kB / 0.9889 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7781, allocations: 0 / 0.9889 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.7785, allocations: 184.8 kB / 0.9891 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.7786, allocations: 104.8 kB / 0.9892 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.7786, allocations: 3.984 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.7787, allocations: 4 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.7788, allocations: 7.984 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.7788, allocations: 4 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001924/0.779, allocations: 201.8 kB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.703e-06/0.779, allocations: 0 / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004326/0.7794, allocations: 119.9 kB / 0.9895 GB, free: 13.08 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.0009322/0.7804, allocations: 0.8034 MB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.7809, allocations: 363.2 kB / 0.9906 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7809, allocations: 0 / 0.9906 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.7811, allocations: 63.97 kB / 0.9907 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.7813, allocations: 28.58 kB / 0.9907 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.7823, allocations: 0.6976 MB / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.7827, allocations: 0.7399 MB / 0.9921 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.604e-05/0.7828, allocations: 25.06 kB / 0.9922 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.7829, allocations: 55.42 kB / 0.9922 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of SimCode: time 1.753e-06/0.7829, allocations: 0 / 0.9922 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.7994, allocations: 5.032 MB / 0.9971 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7997, allocations: 204.1 kB / 0.9973 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.612, allocations: 0 / 0.9973 GB, free: 5.16 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