Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.001337/0.001336, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00151/0.00151, allocations: 168.7 kB / 15.95 MB, free: 204 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.362/1.362, allocations: 223.2 MB / 240 MB, free: 5.445 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.523/2.523, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7966, allocations: 142.3 MB / 0.9539 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0009518/0.7976, allocations: 426.6 kB / 0.9543 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.7985, allocations: 0.8132 MB / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.7986, allocations: 0 / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.7986, allocations: 3.938 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.709e-05/0.7987, allocations: 5.156 kB / 0.9551 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.7989, allocations: 19.44 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.799, allocations: 41.56 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7991, allocations: 8.312 kB / 0.9552 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.7992, allocations: 13.27 kB / 0.9552 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.7992, allocations: 17.8 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.7993, allocations: 1.375 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.7993, allocations: 2.5 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.7993, allocations: 13.48 kB / 0.9552 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.7993, allocations: 26.77 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.186e-05/0.7994, allocations: 26.62 kB / 0.9553 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7994, allocations: 4 kB / 0.9553 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7994, allocations: 0 / 0.9553 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.7994, allocations: 0 / 0.9553 GB, free: 7.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005576/0.8, allocations: 368.6 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.8001, allocations: 9.875 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.8001, allocations: 34.56 kB / 0.9556 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.8001, allocations: 10.92 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.8003, allocations: 169.8 kB / 0.9558 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8003, allocations: 7.938 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.8003, allocations: 5.969 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.8006, allocations: 81.12 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8006, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8006, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8006, allocations: 1.188 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.8009, allocations: 90.28 kB / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.8012, allocations: 263.2 kB / 0.9563 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.8014, allocations: 74.28 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.8016, allocations: 49.45 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.8016, allocations: 0 / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.8016, allocations: 31.91 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.8016, allocations: 0 / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005289/0.8022, allocations: 166.9 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.8022, allocations: 60.91 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.8023, allocations: 106.8 kB / 0.9567 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.8023, allocations: 26.86 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.8024, allocations: 85.3 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.8024, allocations: 16.78 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.8024, allocations: 1.219 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.8024, allocations: 320 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8026, allocations: 42.88 kB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.8027, allocations: 42.98 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.8029, allocations: 39.69 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8029, allocations: 0 / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002939/0.8032, allocations: 124.1 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8032, allocations: 5.531 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8032, allocations: 0 / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8032, allocations: 9.375 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8034, allocations: 26.33 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8034, allocations: 1.312 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.8034, allocations: 15.92 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8035, allocations: 0 / 0.9574 GB, free: 5.078 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 (3): * Single equations (assignments): 3 * 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.245e-05/0.8035, allocations: 116.6 kB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.8036, allocations: 5.312 kB / 0.9576 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.8039, allocations: 123.8 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8039, allocations: 4.953 kB / 0.9577 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8039, allocations: 3.984 kB / 0.9577 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8039, allocations: 1 kB / 0.9577 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.8041, allocations: 164.8 kB / 0.9578 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8041, allocations: 1.531 kB / 0.9578 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.8042, allocations: 26.02 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8042, allocations: 1.125 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8042, allocations: 7.938 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8042, allocations: 5.016 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8042, allocations: 3.953 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.8045, allocations: 212.9 kB / 0.9581 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.8046, allocations: 81.02 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.8046, allocations: 1.031 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.8047, allocations: 24 kB / 0.9582 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.8048, allocations: 5.781 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.8048, allocations: 5.672 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.8048, allocations: 84.8 kB / 0.9583 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.312e-06/0.8048, allocations: 0 / 0.9583 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002119/0.805, allocations: 15.31 kB / 0.9583 GB, free: 4.273 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 (3): * Single equations (assignments): 3 * 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.0005766/0.8056, allocations: 0.7507 MB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.8059, allocations: 89.55 kB / 0.9591 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.806, allocations: 0 / 0.9591 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.8061, allocations: 49.84 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8064, allocations: 5.844 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.8069, allocations: 162.4 kB / 0.9593 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.807, allocations: 0.6803 MB / 0.96 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.807, allocations: 5.312 kB / 0.96 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.8071, allocations: 16.73 kB / 0.96 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8071, allocations: 0 / 0.96 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.8199, allocations: 1.292 MB / 0.9613 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.8201, allocations: 187.4 kB / 0.9614 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.569, allocations: 3.625 kB / 0.9615 GB, free: 1.793 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat