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.0009051/0.000905, allocations: 99.47 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.0009794/0.0009795, 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.365/1.365, 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.566/2.566, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7946, allocations: 146.8 MB / 0.9809 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004342/0.799, allocations: 3.628 MB / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004369/0.8034, allocations: 2.655 MB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005907/0.804, allocations: 15.94 kB / 0.987 GB, free: 88 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.8057, allocations: 0.6578 MB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.8066, allocations: 343 kB / 0.988 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.8072, allocations: 139.7 kB / 0.9881 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.8082, allocations: 0.6864 MB / 0.9888 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.8087, allocations: 291.4 kB / 0.9891 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.8091, allocations: 286.6 kB / 0.9893 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.8095, allocations: 298.3 kB / 0.9896 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.8095, allocations: 20 kB / 0.9896 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.8097, allocations: 51.91 kB / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.8098, allocations: 127.3 kB / 0.9898 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.81, allocations: 185.2 kB / 0.99 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.8106, allocations: 0.6995 MB / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8106, allocations: 0 / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8106, allocations: 0 / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8106, allocations: 0 / 0.9907 GB, free: 12.32 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.001743/0.8124, allocations: 1.077 MB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.8125, allocations: 8.031 kB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.8126, allocations: 82.52 kB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/0.8136, allocations: 230.5 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.8146, allocations: 0.6394 MB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.8146, allocations: 29 kB / 0.9927 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.8147, allocations: 48 kB / 0.9927 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009128/0.8156, allocations: 478.1 kB / 0.9932 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.8156, allocations: 0 / 0.9932 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.8157, allocations: 19.94 kB / 0.9932 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.8157, allocations: 12 kB / 0.9932 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.8166, allocations: 403.7 kB / 0.9936 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.8193, allocations: 1.482 MB / 0.995 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.8199, allocations: 279.2 kB / 0.9953 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.82, allocations: 4.234 kB / 0.9953 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.82, allocations: 34.8 kB / 0.9953 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.82, allocations: 0 / 0.9953 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.00196/0.822, allocations: 0.7041 MB / 0.996 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.8221, allocations: 81.11 kB / 0.9961 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.8233, allocations: 0.9232 MB / 0.997 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.8233, allocations: 25.7 kB / 0.997 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.8237, allocations: 428.2 kB / 0.9974 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.8238, allocations: 98.62 kB / 0.9975 GB, free: 5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.8238, allocations: 4 kB / 0.9975 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.824, allocations: 325.9 kB / 0.9978 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.8243, allocations: 132.5 kB / 0.998 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.8247, allocations: 167.9 kB / 0.9981 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.8251, allocations: 149.6 kB / 0.9983 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8252, allocations: 0 / 0.9983 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001218/0.8264, allocations: 0.501 MB / 0.9988 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.8265, allocations: 101 kB / 0.9989 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8265, allocations: 0 / 0.9989 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/0.8269, allocations: 80.8 kB / 0.9989 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.8273, allocations: 75.95 kB / 0.999 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.8292, allocations: 1.704 MB / 1.001 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.8299, allocations: 91.53 kB / 1.001 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.8299, allocations: 12 kB / 1.001 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.83, allocations: 5.562 kB / 1.001 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/0.831, allocations: 396.4 kB / 1.001 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.831, allocations: 0 / 1.001 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.8314, allocations: 84.8 kB / 1.001 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.8318, allocations: 67.95 kB / 1.001 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.8333, allocations: 1.68 MB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.8339, allocations: 75.58 kB / 1.003 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.834, allocations: 15.94 kB / 1.003 GB, free: 15.07 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.0003961/0.8344, allocations: 341 kB / 1.003 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.8345, allocations: 86.88 kB / 1.003 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.8346, allocations: 97.06 kB / 1.004 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8346, allocations: 8 kB / 1.004 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8347, allocations: 7.953 kB / 1.004 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8347, allocations: 3.984 kB / 1.004 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.8364, allocations: 1.055 MB / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8364, allocations: 0 / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.8366, allocations: 47.91 kB / 1.005 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.8369, allocations: 89 kB / 1.005 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.837, allocations: 8 kB / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.8386, allocations: 1.659 MB / 1.006 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8386, allocations: 0 / 1.006 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.8395, allocations: 0.5859 MB / 1.007 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.8398, allocations: 191.8 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.8399, allocations: 4 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.8404, allocations: 39.88 kB / 1.007 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.8404, allocations: 23.97 kB / 1.007 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.8405, allocations: 8 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009608/0.8414, allocations: 0.6571 MB / 1.008 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8414, allocations: 0 / 1.008 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007403/0.8422, allocations: 263.5 kB / 1.008 GB, free: 9.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.001328/0.8435, allocations: 1.416 MB / 1.009 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.8451, allocations: 0.7629 MB / 1.01 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8451, allocations: 4 kB / 1.01 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.8455, allocations: 262.5 kB / 1.01 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.8461, allocations: 159.5 kB / 1.011 GB, free: 6.906 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/0.8539, allocations: 4.912 MB / 1.015 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.8545, allocations: 1.059 MB / 1.016 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004907/0.855, allocations: 121.3 kB / 1.017 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.8554, allocations: 307.3 kB / 1.017 GB, free: 296 kB / 0.7637 GB Notification: Performance of SimCode: time 1.112e-06/0.8554, allocations: 0 / 1.017 GB, free: 296 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.8903, allocations: 16.38 MB / 1.033 GB, free: 256 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8906, allocations: 229.1 kB / 1.033 GB, free: 8 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.029, allocations: 3.938 kB / 1.033 GB, free: 4 kB / 0.7794 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