Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",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.001373/0.001373, allocations: 99.86 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.001656/0.001656, allocations: 177.3 kB / 15.95 MB, free: 216 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.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.347/2.347, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8057, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.0007802/0.8066, allocations: 387.7 kB / 0.954 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.8073, allocations: 0.799 MB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.8074, allocations: 1.5 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.8074, allocations: 11.88 kB / 0.9548 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.8075, allocations: 3.984 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.8076, allocations: 11.02 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.8077, allocations: 7.781 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.8077, allocations: 2.344 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.8078, allocations: 14.53 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.8079, allocations: 6.812 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.8079, allocations: 1.406 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.8079, allocations: 1.25 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.8079, allocations: 9.578 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.8079, allocations: 29.64 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.852e-05/0.808, allocations: 16.03 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.808, allocations: 0 / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.808, allocations: 0 / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.808, allocations: 0 / 0.9549 GB, free: 7.078 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.0003455/0.8084, allocations: 334.8 kB / 0.9552 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8084, allocations: 13.5 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.8085, allocations: 31.59 kB / 0.9552 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.8085, allocations: 5.266 kB / 0.9552 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.8086, allocations: 160.6 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.8086, allocations: 4 kB / 0.9554 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.8086, allocations: 1.406 kB / 0.9554 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.8088, allocations: 53.52 kB / 0.9554 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.8088, allocations: 5.281 kB / 0.9555 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.8089, allocations: 0 / 0.9555 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8089, allocations: 3.938 kB / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.8091, allocations: 53.16 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.8095, allocations: 244 kB / 0.9557 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.8096, allocations: 45.03 kB / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.8097, allocations: 0 / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8097, allocations: 32.03 kB / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8097, allocations: 0 / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004706/0.8102, allocations: 110.2 kB / 0.9559 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.8102, allocations: 52.5 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.8103, allocations: 98.11 kB / 0.9561 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.8103, allocations: 26.45 kB / 0.9561 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.8104, allocations: 89.09 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.8104, allocations: 12.86 kB / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.8104, allocations: 0 / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.8105, allocations: 312.8 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.8106, allocations: 26.23 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.8107, allocations: 17.95 kB / 0.9565 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.8108, allocations: 29.25 kB / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8108, allocations: 1.062 kB / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000261/0.8111, allocations: 82.05 kB / 0.9566 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8111, allocations: 5.188 kB / 0.9566 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8111, allocations: 1 kB / 0.9566 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8112, allocations: 3.984 kB / 0.9566 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.8113, allocations: 12.67 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.8113, allocations: 4.031 kB / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.8114, allocations: 10.33 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.8114, allocations: 1.125 kB / 0.9567 GB, free: 5.266 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 6.971e-05/0.8115, allocations: 112 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.8115, allocations: 0.9375 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.8118, allocations: 83.44 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8118, allocations: 1.25 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8118, allocations: 7.938 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8118, allocations: 0.9688 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.812, allocations: 153.1 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.812, allocations: 1.594 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.8121, allocations: 16.27 kB / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8121, allocations: 4.125 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.8121, allocations: 4 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8121, allocations: 1.219 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8121, allocations: 0 / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.8124, allocations: 180.7 kB / 0.9572 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.8125, allocations: 78.2 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.8125, allocations: 0.9688 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.8126, allocations: 9.172 kB / 0.9573 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.8127, allocations: 9.875 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8127, allocations: 1 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.8127, allocations: 81.94 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8127, allocations: 0 / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003434/0.8131, allocations: 12.16 kB / 0.9574 GB, free: 4.52 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.0004988/0.8136, allocations: 0.7005 MB / 0.9581 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.8139, allocations: 47.5 kB / 0.9581 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8139, allocations: 3.938 kB / 0.9581 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.814, allocations: 27.56 kB / 0.9582 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.8143, allocations: 2.219 kB / 0.9582 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.8148, allocations: 130.5 kB / 0.9583 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.8149, allocations: 0.686 MB / 0.959 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.8149, allocations: 1.125 kB / 0.959 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.815, allocations: 12.38 kB / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.815, allocations: 0.9062 kB / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.8294, allocations: 0.989 MB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.8297, allocations: 181.2 kB / 0.9601 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.479, allocations: 3.938 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat does not exist to compare? outputFormat=mat