Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.001111/0.001111, allocations: 100.2 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.001385/0.001385, 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.34/1.34, allocations: 223.2 MB / 239.9 MB, free: 5.305 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.401/2.401, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9123, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002426/0.9148, allocations: 1.818 MB / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.916, allocations: 0.6674 MB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.9162, allocations: 3.438 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.9166, allocations: 81.59 kB / 0.9561 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.9168, allocations: 64.77 kB / 0.9562 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.9169, allocations: 32.44 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.9172, allocations: 150.8 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.9174, allocations: 54.12 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.9175, allocations: 73.36 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.9177, allocations: 65.73 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.9177, allocations: 10.83 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.734e-05/0.9178, allocations: 11.16 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.9178, allocations: 25.02 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.9179, allocations: 53.39 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.918, allocations: 128.9 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.918, allocations: 0 / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.918, allocations: 2.656 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.918, allocations: 0 / 0.9567 GB, free: 5.684 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000683/0.9187, allocations: 474.9 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.9188, allocations: 10.12 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.9189, allocations: 50.64 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.9189, allocations: 26.39 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.9193, allocations: 236 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.9193, allocations: 15.16 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.9194, allocations: 24.88 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.9197, allocations: 148.4 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.9197, allocations: 1.219 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.9197, allocations: 5.375 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9197, allocations: 7.641 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.92, allocations: 120.8 kB / 0.9578 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.9208, allocations: 0.5029 MB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.9212, allocations: 170.6 kB / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.9212, allocations: 1.781 kB / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.9212, allocations: 34.56 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.9212, allocations: 1.375 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005251/0.9218, allocations: 215.1 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.9218, allocations: 61.06 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.9219, allocations: 153.6 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.922, allocations: 31.52 kB / 0.9589 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.922, allocations: 127.3 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.9221, allocations: 54.44 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.9221, allocations: 4 kB / 0.9591 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.9221, allocations: 326.4 kB / 0.9594 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.9223, allocations: 48.94 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.9224, allocations: 51.47 kB / 0.9595 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.9225, allocations: 59.61 kB / 0.9596 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9225, allocations: 0 / 0.9596 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003133/0.9229, allocations: 174 kB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9229, allocations: 6.75 kB / 0.9598 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9229, allocations: 4 kB / 0.9598 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9229, allocations: 1.375 kB / 0.9598 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.9231, allocations: 44.91 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.9231, allocations: 5.328 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.9232, allocations: 17.56 kB / 0.9598 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.9232, allocations: 6.734 kB / 0.9598 GB, free: 3.117 MB / 0.7169 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/0.9233, allocations: 124.7 kB / 0.9599 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.9234, allocations: 14.69 kB / 0.96 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.9234, allocations: 20.28 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9234, allocations: 2.75 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.9234, allocations: 7.875 kB / 0.96 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9234, allocations: 7.938 kB / 0.96 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.9237, allocations: 251 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.9237, allocations: 0 / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.9239, allocations: 44.12 kB / 0.9603 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9239, allocations: 1.281 kB / 0.9603 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.9239, allocations: 5.188 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.9239, allocations: 1.375 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9239, allocations: 0 / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.9245, allocations: 341.6 kB / 0.9606 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.9246, allocations: 95 kB / 0.9607 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.9246, allocations: 1.031 kB / 0.9607 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.9247, allocations: 11.97 kB / 0.9607 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.9248, allocations: 12.73 kB / 0.9607 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.9248, allocations: 2.75 kB / 0.9607 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.693e-05/0.9249, allocations: 120.5 kB / 0.9608 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9249, allocations: 1 kB / 0.9608 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000297/0.9252, allocations: 43.38 kB / 0.9609 GB, free: 2.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007185/0.9259, allocations: 0.8744 MB / 0.9617 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.9263, allocations: 129.2 kB / 0.9619 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9263, allocations: 0 / 0.9619 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.9264, allocations: 70.17 kB / 0.9619 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.9267, allocations: 22.91 kB / 0.962 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.9287, allocations: 1.285 MB / 0.9632 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.929, allocations: 0.7327 MB / 0.9639 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.804e-05/0.9291, allocations: 17.73 kB / 0.9639 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.9292, allocations: 51.36 kB / 0.964 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9292, allocations: 0 / 0.964 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.9443, allocations: 2.96 MB / 0.9669 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.9446, allocations: 215.8 kB / 0.9671 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.742, allocations: 4 kB / 0.9671 GB, free: 14.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat does not exist to compare? outputFormat=mat