Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.001354/0.001355, allocations: 100.5 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.001391/0.001391, 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.444/2.444, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 19.98 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6947, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0007962/0.6956, allocations: 387.7 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.6964, allocations: 0.8024 MB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.6964, allocations: 1.156 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.6964, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.6965, allocations: 5.156 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.6966, allocations: 9.188 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.6967, allocations: 16.59 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.6968, allocations: 2.406 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.6968, allocations: 11.61 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.6969, allocations: 6.344 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.6969, allocations: 5.094 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.6969, allocations: 1.219 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.6969, allocations: 7.984 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.697, allocations: 30.78 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.692e-05/0.697, allocations: 15.66 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.697, allocations: 0 / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.287e-06/0.697, allocations: 1.438 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.697, allocations: 0 / 0.9549 GB, free: 7.027 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003316/0.6974, allocations: 338 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6974, allocations: 8.031 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.6975, allocations: 35.91 kB / 0.9552 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.6975, allocations: 9.391 kB / 0.9552 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.351e-05/0.6976, allocations: 160.5 kB / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.6976, allocations: 0 / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.6976, allocations: 2.469 kB / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6977, allocations: 53.52 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6978, allocations: 0 / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.6978, allocations: 3.938 kB / 0.9555 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6978, allocations: 1.438 kB / 0.9555 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.6979, allocations: 51.72 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.6982, allocations: 245 kB / 0.9557 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6984, allocations: 43.28 kB / 0.9558 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.6984, allocations: 5.078 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.6984, allocations: 35.81 kB / 0.9558 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6984, allocations: 0 / 0.9558 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.6987, allocations: 106.4 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.6988, allocations: 52.84 kB / 0.956 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.488e-05/0.6988, allocations: 97.73 kB / 0.9561 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.6988, allocations: 27.27 kB / 0.9561 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.6989, allocations: 84.27 kB / 0.9562 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.6989, allocations: 16.8 kB / 0.9562 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.6989, allocations: 0 / 0.9562 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.6989, allocations: 312 kB / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.699, allocations: 17.92 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.6991, allocations: 26.7 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.976e-05/0.6992, allocations: 22.61 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6992, allocations: 0 / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.6994, allocations: 81.66 kB / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6994, allocations: 5.156 kB / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6994, allocations: 0 / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6994, allocations: 1.219 kB / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.6995, allocations: 15.94 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.6995, allocations: 3.938 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.6996, allocations: 15.05 kB / 0.9567 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6996, allocations: 0 / 0.9567 GB, free: 5.215 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 (2): * Single equations (assignments): 2 * 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 4.245e-05/0.6996, allocations: 108.7 kB / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.6997, allocations: 0 / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.6999, allocations: 84.28 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6999, allocations: 1.594 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6999, allocations: 3.953 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6999, allocations: 3.984 kB / 0.9569 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.7, allocations: 158.2 kB / 0.957 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7, allocations: 0 / 0.957 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.7001, allocations: 21.33 kB / 0.957 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7001, allocations: 0 / 0.957 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.7001, allocations: 1.156 kB / 0.957 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7001, allocations: 4.031 kB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7001, allocations: 4 kB / 0.957 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.7003, allocations: 180.4 kB / 0.9572 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.7004, allocations: 78.02 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.7004, allocations: 0.9375 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.7005, allocations: 11.05 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.7005, allocations: 1.562 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.7005, allocations: 0 / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.7005, allocations: 82.72 kB / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7005, allocations: 0 / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002088/0.7008, allocations: 7.391 kB / 0.9574 GB, free: 4.477 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0004047/0.7012, allocations: 0.7123 MB / 0.9581 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.7014, allocations: 43.16 kB / 0.9581 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7014, allocations: 0 / 0.9581 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.7015, allocations: 28.67 kB / 0.9581 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.7017, allocations: 12.44 kB / 0.9582 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.702, allocations: 125.7 kB / 0.9583 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.7021, allocations: 0.6828 MB / 0.9589 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.7022, allocations: 1.156 kB / 0.9589 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.7022, allocations: 12.47 kB / 0.959 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7022, allocations: 0 / 0.959 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009799/0.712, allocations: 0.9904 MB / 0.9599 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.7122, allocations: 188.8 kB / 0.9601 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.356, allocations: 0 / 0.9601 GB, free: 2.191 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat