Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.186/2.186, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001253, allocations: 184.8 kB / 491.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.000819, allocations: 83.91 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.753e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.178, allocations: 156 MB / 1.365 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.179, allocations: 87.17 kB / 1.365 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02628/1.205, allocations: 10.09 MB / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.205, allocations: 0 / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.729e-05/1.205, allocations: 11.69 kB / 1.375 GB, free: 32.49 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001241/1.206, allocations: 0.6955 MB / 1.375 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.206, allocations: 11 kB / 1.375 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/1.206, allocations: 54.38 kB / 1.375 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/1.207, allocations: 353.3 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.207, allocations: 15.53 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.207, allocations: 23.16 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/1.208, allocations: 283.9 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/1.208, allocations: 318.5 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.208, allocations: 0 / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/1.208, allocations: 3.953 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.208, allocations: 15.69 kB / 1.376 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/1.21, allocations: 1.188 MB / 1.378 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/1.21, allocations: 367.3 kB / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/1.211, allocations: 214.1 kB / 1.378 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/1.211, allocations: 3.906 kB / 1.378 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/1.211, allocations: 37.59 kB / 1.378 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 2.034e-06/1.211, allocations: 7.984 kB / 1.378 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001646/1.212, allocations: 0.6436 MB / 1.379 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/1.212, allocations: 64.44 kB / 1.379 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/1.213, allocations: 237.7 kB / 1.379 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/1.213, allocations: 25.7 kB / 1.379 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.213, allocations: 222.9 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/1.213, allocations: 133.3 kB / 1.379 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.213, allocations: 0 / 1.379 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/1.213, allocations: 342.2 kB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.213, allocations: 110.4 kB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.213, allocations: 188.1 kB / 1.38 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/1.213, allocations: 140.7 kB / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.213, allocations: 0 / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001522/1.215, allocations: 0.6549 MB / 1.381 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.215, allocations: 92.91 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.215, allocations: 0 / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/1.217, allocations: 394.7 kB / 1.381 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.217, allocations: 28.05 kB / 1.381 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/1.218, allocations: 1.107 MB / 1.382 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/1.218, allocations: 40.86 kB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.218, allocations: 10.81 kB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/1.218, allocations: 3.906 kB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/1.22, allocations: 0.5978 MB / 1.383 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/1.22, allocations: 0 / 1.383 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.221, allocations: 398.7 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/1.221, allocations: 25.11 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/1.226, allocations: 3.551 MB / 1.387 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/1.226, allocations: 39.08 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.226, allocations: 7.469 kB / 1.387 GB, free: 27.84 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.226, allocations: 109.4 kB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001418/1.228, allocations: 0.6252 MB / 1.388 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/1.228, allocations: 35.05 kB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/1.228, allocations: 47.28 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.228, allocations: 3.844 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.228, allocations: 0 / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.228, allocations: 7.828 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/1.228, allocations: 421.6 kB / 1.388 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.228, allocations: 0 / 1.388 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/1.228, allocations: 29.8 kB / 1.388 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/1.23, allocations: 396.1 kB / 1.389 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.23, allocations: 7.797 kB / 1.389 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/1.234, allocations: 3.524 MB / 1.392 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.234, allocations: 3.984 kB / 1.392 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/1.236, allocations: 0.7362 MB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.236, allocations: 143.6 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/1.236, allocations: 0 / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/1.236, allocations: 19.64 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.236, allocations: 38.97 kB / 1.393 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.236, allocations: 11.47 kB / 1.393 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001575/1.236, allocations: 179.6 kB / 1.393 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.236, allocations: 0 / 1.393 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008129/1.237, allocations: 270.5 kB / 1.393 GB, free: 24.76 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/1.239, allocations: 1.285 MB / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.241, allocations: 0.8797 MB / 1.395 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.241, allocations: 4 kB / 1.395 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007725/1.242, allocations: 457.4 kB / 1.396 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/1.242, allocations: 79.47 kB / 1.396 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.244, allocations: 0.5972 MB / 1.397 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/1.244, allocations: 0.8442 MB / 1.397 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001893/1.244, allocations: 46.39 kB / 1.397 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.244, allocations: 122.5 kB / 1.398 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.244, allocations: 0 / 1.398 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/1.275, allocations: 12.84 MB / 1.41 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.276, allocations: 159.2 kB / 1.41 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.413, allocations: 0 / 1.41 GB, free: 12.85 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat