Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 183.5 kB / 0.4901 GB, free: 2.102 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.1 MB / 0.7992 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009427, allocations: 101.8 kB / 0.9396 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004403, allocations: 10.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4884, allocations: 149.7 MB / 1.375 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4887, allocations: 67.95 kB / 1.376 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002455/0.4912, allocations: 0.9082 MB / 1.376 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4912, allocations: 4 kB / 1.376 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.4912, allocations: 4 kB / 1.376 GB, free: 2.973 MB / 0.8698 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.0004461/0.4917, allocations: 371.2 kB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4917, allocations: 8.562 kB / 1.377 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.4918, allocations: 34.56 kB / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.4918, allocations: 8 kB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4919, allocations: 170.9 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4919, allocations: 4 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.4919, allocations: 0 / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.4922, allocations: 81.59 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4922, allocations: 4 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4922, allocations: 0 / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4922, allocations: 0 / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.4926, allocations: 87.92 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.4931, allocations: 300.9 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4933, allocations: 66.53 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4933, allocations: 3.938 kB / 1.378 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4934, allocations: 42.56 kB / 1.378 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4934, allocations: 0 / 1.378 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005467/0.4939, allocations: 161.6 kB / 1.378 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.494, allocations: 55.36 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.494, allocations: 105.2 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4941, allocations: 25.7 kB / 1.378 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.4941, allocations: 92.08 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4942, allocations: 7.891 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4942, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4943, allocations: 322.8 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4944, allocations: 39.97 kB / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.4946, allocations: 47.89 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4947, allocations: 43.97 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4947, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003176/0.495, allocations: 121.5 kB / 1.379 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4951, allocations: 4 kB / 1.379 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4951, allocations: 0 / 1.379 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4951, allocations: 336 / 1.379 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4952, allocations: 27.97 kB / 1.379 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4953, allocations: 4.062 kB / 1.379 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.4953, allocations: 23.88 kB / 1.379 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4954, allocations: 7.938 kB / 1.379 GB, free: 0.5273 MB / 0.8698 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 7.834e-05/0.4954, allocations: 109.8 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.4955, allocations: 7.984 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.4958, allocations: 133.5 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4959, allocations: 0 / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4959, allocations: 0 / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4959, allocations: 4 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.496, allocations: 169.6 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.496, allocations: 4 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4962, allocations: 15.98 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4962, allocations: 4 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4962, allocations: 4 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4962, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4962, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.4966, allocations: 227.3 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.4966, allocations: 77.11 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4967, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4968, allocations: 11.98 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4968, allocations: 11.98 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4968, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.4969, allocations: 91.27 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4969, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002028/0.4971, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 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.0007059/0.4978, allocations: 0.756 MB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.4982, allocations: 91.92 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4982, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.4983, allocations: 47.95 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.4985, allocations: 5.656 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.499, allocations: 170.5 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.4992, allocations: 0.6809 MB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.4993, allocations: 11.92 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.4993, allocations: 11.44 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.4993, allocations: 4 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.511, allocations: 1.28 MB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.5112, allocations: 188.9 kB / 1.383 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.016, allocations: 0 / 1.383 GB, free: 12.32 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat