Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.001203/0.001203, allocations: 99.55 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.00148/0.00148, allocations: 177.3 kB / 15.94 MB, free: 228 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.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6901, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002894/0.6931, allocations: 2.418 MB / 0.956 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6942, allocations: 0.7796 MB / 0.9567 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.6944, allocations: 12.75 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.6945, allocations: 38.38 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.6948, allocations: 143 kB / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.6952, allocations: 115.2 kB / 0.957 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.6956, allocations: 344.4 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.6959, allocations: 157 kB / 0.9575 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.6962, allocations: 165.9 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.6964, allocations: 176.5 kB / 0.9578 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.6965, allocations: 15.12 kB / 0.9578 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.6965, allocations: 15.09 kB / 0.9578 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.6966, allocations: 70.22 kB / 0.9579 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.6967, allocations: 95.7 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.6969, allocations: 311.9 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6969, allocations: 1 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6969, allocations: 0 / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.697, allocations: 0 / 0.9583 GB, free: 4.465 MB / 0.7169 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.001014/0.698, allocations: 0.6797 MB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.698, allocations: 10.28 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.6981, allocations: 72.75 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.6982, allocations: 52.27 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.6985, allocations: 314.6 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6986, allocations: 26.56 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.6986, allocations: 30.31 kB / 0.9594 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.6992, allocations: 384.6 kB / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6992, allocations: 0 / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.6993, allocations: 16.12 kB / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.6993, allocations: 12.2 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.6998, allocations: 276.2 kB / 0.9601 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.7014, allocations: 1.457 MB / 0.9615 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.702, allocations: 286.6 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.702, allocations: 6.703 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.702, allocations: 41.17 kB / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.7021, allocations: 0 / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27): time 0.002831/0.7049, allocations: 0.8839 MB / 0.9627 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.7049, allocations: 53.56 kB / 0.9628 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.7053, allocations: 366.2 kB / 0.9631 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.7053, allocations: 30.89 kB / 0.9631 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.7054, allocations: 213.3 kB / 0.9633 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.7055, allocations: 97.72 kB / 0.9634 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.7055, allocations: 5.531 kB / 0.9634 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.7055, allocations: 346.3 kB / 0.9638 GB, free: 164 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.7058, allocations: 98.7 kB / 0.9639 GB, free: 120 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.706, allocations: 163.9 kB / 0.964 GB, free: 16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.7063, allocations: 112.6 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.7063, allocations: 4.828 kB / 0.9641 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001114/0.7074, allocations: 496.8 kB / 0.9646 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.7076, allocations: 0.5345 MB / 0.9651 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7077, allocations: 5.031 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.7084, allocations: 182 kB / 0.9653 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.7086, allocations: 46.16 kB / 0.9653 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.7119, allocations: 2.523 MB / 0.9678 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.7123, allocations: 40.95 kB / 0.9679 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.7124, allocations: 11.44 kB / 0.9679 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.7124, allocations: 4.219 kB / 0.9679 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.7135, allocations: 440.8 kB / 0.9683 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7135, allocations: 5.156 kB / 0.9683 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.7141, allocations: 184.4 kB / 0.9685 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.7143, allocations: 45.36 kB / 0.9685 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.7173, allocations: 2.431 MB / 0.9709 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.7177, allocations: 45.17 kB / 0.9709 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.7177, allocations: 14.3 kB / 0.9709 GB, free: 10.59 MB / 0.7325 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 () * Number of clocked 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.0002252/0.7179, allocations: 225.9 kB / 0.9712 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.718, allocations: 42.48 kB / 0.9712 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.7181, allocations: 49.75 kB / 0.9712 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7181, allocations: 2.5 kB / 0.9712 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7181, allocations: 4 kB / 0.9713 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7181, allocations: 8.859 kB / 0.9713 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.7186, allocations: 413.3 kB / 0.9717 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7186, allocations: 0 / 0.9717 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.7188, allocations: 23.86 kB / 0.9717 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.7194, allocations: 179.5 kB / 0.9718 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.7195, allocations: 9.391 kB / 0.9719 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.7226, allocations: 2.435 MB / 0.9742 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7226, allocations: 0 / 0.9742 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.7239, allocations: 0.5412 MB / 0.9748 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.7241, allocations: 139.2 kB / 0.9749 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.7241, allocations: 8.953 kB / 0.9749 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.7244, allocations: 25.89 kB / 0.9749 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.7245, allocations: 34.98 kB / 0.975 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.7245, allocations: 5.594 kB / 0.975 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002861/0.7248, allocations: 255 kB / 0.9752 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7248, allocations: 0.9062 kB / 0.9752 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008496/0.7257, allocations: 252.8 kB / 0.9755 GB, free: 7.109 MB / 0.7325 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 () * Number of clocked 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.001455/0.7271, allocations: 1.088 MB / 0.9765 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.7287, allocations: 0.7676 MB / 0.9773 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7287, allocations: 320 / 0.9773 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.7292, allocations: 333 kB / 0.9776 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.7297, allocations: 92.41 kB / 0.9777 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.734, allocations: 3.014 MB / 0.9806 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.7346, allocations: 0.8266 MB / 0.9814 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.7348, allocations: 35.7 kB / 0.9815 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.7349, allocations: 119.3 kB / 0.9816 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.7349, allocations: 0 / 0.9816 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.7617, allocations: 11.09 MB / 0.9924 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.7619, allocations: 224 kB / 0.9926 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.538, allocations: 0 / 0.9926 GB, free: 7.406 MB / 0.7481 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat does not exist to compare? outputFormat=mat