Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.193/2.193, allocations: 390.5 MB / 398 MB, free: 10.89 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.001192/0.001192, allocations: 184.8 kB / 491.2 MB, free: 1.555 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.574/1.574, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001026/0.001026, allocations: 95.56 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9402/1.228, allocations: 154.8 MB / 1.364 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.229, allocations: 86.08 kB / 1.364 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01806/1.247, allocations: 6.646 MB / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.247, allocations: 0 / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.837e-05/1.247, allocations: 7.75 kB / 1.37 GB, free: 32.82 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001003/1.248, allocations: 0.622 MB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.248, allocations: 11.59 kB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/1.248, allocations: 50.45 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/1.248, allocations: 320.8 kB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.248, allocations: 18.27 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/1.248, allocations: 19.16 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000369/1.249, allocations: 210.7 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/1.249, allocations: 302.4 kB / 1.372 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.249, allocations: 0 / 1.372 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.249, allocations: 3.812 kB / 1.372 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.249, allocations: 15.67 kB / 1.372 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/1.251, allocations: 1.379 MB / 1.373 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/1.251, allocations: 250 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/1.252, allocations: 167.3 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/1.252, allocations: 4.219 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.252, allocations: 38.23 kB / 1.373 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/1.252, allocations: 4 kB / 1.373 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0008721/1.253, allocations: 384.8 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/1.253, allocations: 51.41 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/1.253, allocations: 253.7 kB / 1.374 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/1.253, allocations: 25.7 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/1.253, allocations: 221.9 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/1.253, allocations: 88.7 kB / 1.374 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.253, allocations: 0 / 1.374 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/1.253, allocations: 342.9 kB / 1.375 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/1.253, allocations: 74.64 kB / 1.375 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/1.253, allocations: 139.8 kB / 1.375 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.254, allocations: 98.44 kB / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.254, allocations: 0 / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008139/1.254, allocations: 425.1 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/1.255, allocations: 0.5395 MB / 1.376 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.255, allocations: 6.547 kB / 1.376 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/1.255, allocations: 173.9 kB / 1.376 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.255, allocations: 36.81 kB / 1.376 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/1.256, allocations: 0.8189 MB / 1.377 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/1.256, allocations: 22.53 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.257, allocations: 7.688 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.257, allocations: 3.969 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007901/1.257, allocations: 365.2 kB / 1.377 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.257, allocations: 3.812 kB / 1.377 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/1.258, allocations: 179.7 kB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.258, allocations: 36.73 kB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/1.261, allocations: 2.285 MB / 1.38 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.261, allocations: 32.59 kB / 1.38 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.261, allocations: 13.64 kB / 1.38 GB, free: 27.67 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.261, allocations: 104.9 kB / 1.38 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007873/1.262, allocations: 394.5 kB / 1.38 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/1.262, allocations: 34.95 kB / 1.38 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/1.262, allocations: 41.33 kB / 1.38 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.262, allocations: 0 / 1.38 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.262, allocations: 3.844 kB / 1.38 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.262, allocations: 3.047 kB / 1.38 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/1.263, allocations: 348.8 kB / 1.381 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.263, allocations: 7.094 kB / 1.381 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/1.263, allocations: 22.25 kB / 1.381 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005467/1.263, allocations: 171.2 kB / 1.381 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/1.263, allocations: 4 kB / 1.381 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/1.266, allocations: 2.282 MB / 1.383 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.266, allocations: 0 / 1.383 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/1.267, allocations: 485.7 kB / 1.384 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.267, allocations: 133.8 kB / 1.384 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/1.267, allocations: 0 / 1.384 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.267, allocations: 18.3 kB / 1.384 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/1.267, allocations: 32.64 kB / 1.384 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.267, allocations: 3.875 kB / 1.384 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001756/1.267, allocations: 199 kB / 1.384 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.81e-07/1.267, allocations: 0 / 1.384 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006211/1.268, allocations: 203.8 kB / 1.384 GB, free: 25.56 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/1.269, allocations: 1.021 MB / 1.385 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000934/1.27, allocations: 0.5296 MB / 1.386 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.27, allocations: 3.875 kB / 1.386 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/1.27, allocations: 283.5 kB / 1.386 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.271, allocations: 69.03 kB / 1.386 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/1.272, allocations: 0.5176 MB / 1.387 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/1.272, allocations: 0.8128 MB / 1.387 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002075/1.273, allocations: 42.61 kB / 1.387 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.273, allocations: 110 kB / 1.387 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.273, allocations: 4 kB / 1.387 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/1.302, allocations: 9.051 MB / 1.396 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.302, allocations: 152.5 kB / 1.396 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.462, allocations: 0 / 1.396 GB, free: 20.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat