Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.0009003/0.0009003, allocations: 87.11 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.0008183/0.0008183, 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.461/1.461, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.593/2.593, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003634, allocations: 11.98 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7941, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.005236/0.7994, allocations: 3.869 MB / 0.9849 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.8042, allocations: 2.755 MB / 0.9876 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.8054, allocations: 15.94 kB / 0.9876 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.8078, allocations: 0.7412 MB / 0.9883 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.8091, allocations: 318 kB / 0.9886 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.8097, allocations: 139.8 kB / 0.9888 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.8115, allocations: 1.028 MB / 0.9898 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.8122, allocations: 291.4 kB / 0.9901 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.8131, allocations: 294.5 kB / 0.9903 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009499/0.8141, allocations: 378 kB / 0.9907 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.8142, allocations: 20 kB / 0.9907 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.8145, allocations: 43.97 kB / 0.9908 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.8147, allocations: 127.3 kB / 0.9909 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.815, allocations: 185.2 kB / 0.9911 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008764/0.8159, allocations: 0.6934 MB / 0.9917 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8159, allocations: 4 kB / 0.9917 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.006e-06/0.816, allocations: 0 / 0.9917 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.657e-05/0.816, allocations: 0 / 0.9917 GB, free: 11.34 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00235/0.8184, allocations: 1.073 MB / 0.9928 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.8184, allocations: 8.031 kB / 0.9928 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.8186, allocations: 90.52 kB / 0.9929 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.8196, allocations: 226.5 kB / 0.9931 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.8209, allocations: 0.6394 MB / 0.9937 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.8209, allocations: 29 kB / 0.9937 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.821, allocations: 40 kB / 0.9938 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.822, allocations: 486 kB / 0.9942 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.8221, allocations: 7.875 kB / 0.9943 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.8221, allocations: 20 kB / 0.9943 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.8221, allocations: 12 kB / 0.9943 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009828/0.8231, allocations: 395.8 kB / 0.9947 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.826, allocations: 1.482 MB / 0.9961 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.8266, allocations: 267.3 kB / 0.9964 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.8269, allocations: 145.3 kB / 0.9965 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.8269, allocations: 12.16 kB / 0.9965 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.827, allocations: 34.8 kB / 0.9965 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.827, allocations: 0 / 0.9965 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.001909/0.8289, allocations: 0.6999 MB / 0.9972 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.829, allocations: 81.11 kB / 0.9973 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.8303, allocations: 0.9232 MB / 0.9982 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.8303, allocations: 29.7 kB / 0.9982 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.8306, allocations: 420.2 kB / 0.9986 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.8307, allocations: 98.56 kB / 0.9987 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.8308, allocations: 7.938 kB / 0.9987 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8309, allocations: 321.9 kB / 0.999 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.8312, allocations: 132.5 kB / 0.9992 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.8316, allocations: 167.9 kB / 0.9993 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.832, allocations: 165.5 kB / 0.9995 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.832, allocations: 0 / 0.9995 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001132/0.8332, allocations: 0.501 MB / 1 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.8332, allocations: 93.06 kB / 1 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8332, allocations: 4 kB / 1 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.8337, allocations: 92.77 kB / 1 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.834, allocations: 75.89 kB / 1 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8359, allocations: 1.674 MB / 1.002 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.8365, allocations: 91.55 kB / 1.002 GB, free: 432 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.8366, allocations: 7.984 kB / 1.002 GB, free: 424 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.8366, allocations: 5.562 kB / 1.002 GB, free: 420 kB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009874/0.8376, allocations: 392.5 kB / 1.002 GB, free: 24 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.8376, allocations: 4 kB / 1.002 GB, free: 20 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.8379, allocations: 84.78 kB / 1.002 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.8383, allocations: 75.89 kB / 1.002 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.84, allocations: 1.668 MB / 1.004 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.8405, allocations: 71.62 kB / 1.004 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.8405, allocations: 11.98 kB / 1.004 GB, free: 13.98 MB / 0.7637 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004458/0.841, allocations: 329 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8411, allocations: 90.88 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.8413, allocations: 93.06 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.8413, allocations: 4 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8413, allocations: 3.953 kB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8414, allocations: 7.984 kB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.8432, allocations: 1.055 MB / 1.006 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8432, allocations: 4 kB / 1.006 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.8434, allocations: 47.91 kB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.8437, allocations: 84.92 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.8438, allocations: 4 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.8457, allocations: 1.644 MB / 1.007 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8457, allocations: 3.938 kB / 1.007 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/0.8467, allocations: 0.5349 MB / 1.008 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.847, allocations: 191.8 kB / 1.008 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8471, allocations: 8 kB / 1.008 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.8475, allocations: 39.88 kB / 1.008 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.8476, allocations: 24 kB / 1.008 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.8476, allocations: 12 kB / 1.008 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001091/0.8487, allocations: 0.6571 MB / 1.009 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8487, allocations: 3.938 kB / 1.009 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008541/0.8496, allocations: 267.5 kB / 1.009 GB, free: 8.602 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.851, allocations: 1.087 MB / 1.01 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.8528, allocations: 0.7512 MB / 1.011 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8528, allocations: 0 / 1.011 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.8532, allocations: 260 kB / 1.011 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.8541, allocations: 164.8 kB / 1.011 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/0.8634, allocations: 5.025 MB / 1.016 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.8641, allocations: 1.039 MB / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004974/0.8646, allocations: 117.3 kB / 1.017 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.865, allocations: 303.3 kB / 1.018 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of SimCode: time 1.393e-06/0.865, allocations: 0 / 1.018 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.9007, allocations: 16.27 MB / 1.034 GB, free: 15.64 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.9009, allocations: 238.7 kB / 1.034 GB, free: 15.39 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.024, allocations: 2.531 kB / 1.034 GB, free: 15.39 MB / 0.795 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat