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.154/2.154, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001087/0.001087, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.000903/0.0009032, allocations: 87.95 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.783e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9303/1.218, allocations: 156.7 MB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.219, allocations: 90 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02998/1.249, allocations: 10.15 MB / 1.382 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.249, allocations: 0 / 1.382 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.507e-05/1.249, allocations: 8 kB / 1.382 GB, free: 4.664 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.001467/1.25, allocations: 0.7069 MB / 1.383 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.25, allocations: 8.031 kB / 1.383 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/1.25, allocations: 83.08 kB / 1.383 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/1.251, allocations: 55.34 kB / 1.383 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/1.251, allocations: 341.7 kB / 1.383 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.251, allocations: 34.94 kB / 1.383 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/1.251, allocations: 46.62 kB / 1.383 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/1.252, allocations: 377.5 kB / 1.383 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.252, allocations: 0 / 1.383 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/1.252, allocations: 22.2 kB / 1.383 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.252, allocations: 8 kB / 1.383 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/1.253, allocations: 294.5 kB / 1.384 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/1.255, allocations: 1.305 MB / 1.385 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/1.256, allocations: 375.8 kB / 1.385 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/1.256, allocations: 221.6 kB / 1.386 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/1.256, allocations: 7.984 kB / 1.386 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.256, allocations: 43.14 kB / 1.386 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 2.315e-06/1.256, allocations: 0 / 1.386 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001839/1.258, allocations: 0.6721 MB / 1.386 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.258, allocations: 59.39 kB / 1.386 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/1.258, allocations: 296.5 kB / 1.387 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/1.258, allocations: 37.39 kB / 1.387 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/1.259, allocations: 212.1 kB / 1.387 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.259, allocations: 138.3 kB / 1.387 GB, free: 316 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/1.259, allocations: 11.31 kB / 1.387 GB, free: 312 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.259, allocations: 351.7 kB / 1.387 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/1.259, allocations: 120.8 kB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.26, allocations: 187.9 kB / 1.388 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/1.26, allocations: 142.3 kB / 1.388 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.26, allocations: 0 / 1.388 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001785/1.262, allocations: 0.6711 MB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/1.262, allocations: 104.3 kB / 1.389 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.262, allocations: 0 / 1.389 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/1.263, allocations: 421.5 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.264, allocations: 27.97 kB / 1.389 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/1.265, allocations: 1.051 MB / 1.39 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/1.266, allocations: 57.08 kB / 1.39 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.266, allocations: 11.06 kB / 1.39 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.266, allocations: 4 kB / 1.39 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001752/1.267, allocations: 0.6352 MB / 1.391 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.267, allocations: 7.984 kB / 1.391 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/1.269, allocations: 433.2 kB / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.269, allocations: 27.92 kB / 1.391 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/1.275, allocations: 3.656 MB / 1.395 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/1.275, allocations: 50.52 kB / 1.395 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.275, allocations: 11.5 kB / 1.395 GB, free: 9.895 MB / 0.8542 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.0001237/1.275, allocations: 127.8 kB / 1.395 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/1.276, allocations: 43.48 kB / 1.395 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/1.276, allocations: 55.64 kB / 1.395 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.276, allocations: 4 kB / 1.395 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.276, allocations: 4 kB / 1.395 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.276, allocations: 0 / 1.395 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/1.276, allocations: 0.4918 MB / 1.395 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.276, allocations: 0 / 1.395 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.276, allocations: 23.98 kB / 1.395 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.278, allocations: 406.6 kB / 1.396 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.278, allocations: 3.25 kB / 1.396 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/1.283, allocations: 3.646 MB / 1.399 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.283, allocations: 0 / 1.399 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.285, allocations: 0.7782 MB / 1.4 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/1.285, allocations: 150.5 kB / 1.4 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/1.285, allocations: 5.125 kB / 1.4 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/1.285, allocations: 26.2 kB / 1.4 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.286, allocations: 43.73 kB / 1.4 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/1.286, allocations: 11.44 kB / 1.4 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002585/1.286, allocations: 238.7 kB / 1.401 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/1.286, allocations: 4 kB / 1.401 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007618/1.287, allocations: 283.6 kB / 1.401 GB, free: 4.73 MB / 0.8542 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.002062/1.289, allocations: 1.329 MB / 1.402 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.291, allocations: 0.8896 MB / 1.403 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.291, allocations: 0 / 1.403 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009254/1.292, allocations: 497.8 kB / 1.404 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/1.292, allocations: 103.5 kB / 1.404 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.294, allocations: 0.6375 MB / 1.404 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.294, allocations: 0.8447 MB / 1.405 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002502/1.294, allocations: 59.17 kB / 1.405 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/1.295, allocations: 129.3 kB / 1.405 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/1.295, allocations: 0 / 1.405 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/1.331, allocations: 14.8 MB / 1.42 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/1.331, allocations: 208 kB / 1.42 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.52, allocations: 64 / 1.42 GB, free: 2.145 MB / 0.8698 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