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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 86.72 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.001506/0.001506, 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.616/2.616, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 19.94 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8583/0.8587, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001154/0.8599, allocations: 422.5 kB / 0.9816 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.8614, allocations: 0.8218 MB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.8615, allocations: 4 kB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.8615, allocations: 3.984 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.8616, allocations: 3.938 kB / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.8618, allocations: 15.92 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.8619, allocations: 39.86 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.862, allocations: 8 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.8621, allocations: 15.92 kB / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.8622, allocations: 23.89 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.8622, allocations: 4 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.8623, allocations: 0 / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.8623, allocations: 4 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.8623, allocations: 33.64 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.445e-05/0.8624, allocations: 27.94 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.8624, allocations: 4 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.818e-06/0.8625, allocations: 4 kB / 0.9826 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8625, allocations: 0 / 0.9826 GB, free: 4.824 MB / 0.7325 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.0006399/0.8631, allocations: 365.5 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.8632, allocations: 16.03 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.8632, allocations: 30.56 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.8633, allocations: 3.906 kB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.8634, allocations: 163.1 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8635, allocations: 4 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.8635, allocations: 4 kB / 0.9831 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.8638, allocations: 89.53 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8638, allocations: 4 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.8638, allocations: 0 / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.8638, allocations: 0 / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.8641, allocations: 83.94 kB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.8645, allocations: 260.9 kB / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.8647, allocations: 82.41 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.8649, allocations: 56.86 kB / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.8649, allocations: 7.969 kB / 0.9837 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.865, allocations: 38.56 kB / 0.9837 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.865, allocations: 0 / 0.9837 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005322/0.8655, allocations: 157.6 kB / 0.9839 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.8656, allocations: 51.41 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.8657, allocations: 109.8 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8657, allocations: 29.7 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.8657, allocations: 88.12 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.8658, allocations: 11.75 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.8658, allocations: 0 / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8659, allocations: 318.8 kB / 0.9844 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.8661, allocations: 51.89 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.8662, allocations: 39.97 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.8663, allocations: 43.95 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8663, allocations: 3.938 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002971/0.8666, allocations: 121.6 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8667, allocations: 4 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8667, allocations: 0 / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8667, allocations: 8 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.8668, allocations: 15.98 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8668, allocations: 0 / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.8669, allocations: 19.97 kB / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.867, allocations: 4 kB / 0.9847 GB, free: 2.355 MB / 0.7325 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 8.529e-05/0.867, allocations: 117.8 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.8671, allocations: 11.86 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.8674, allocations: 121.5 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.8674, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8675, allocations: 4 kB / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.8675, allocations: 0 / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.8676, allocations: 165.7 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8677, allocations: 0 / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.8678, allocations: 23.97 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8678, allocations: 7.953 kB / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.8678, allocations: 0 / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8678, allocations: 3.938 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8678, allocations: 0 / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.8681, allocations: 215.4 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.8682, allocations: 85.42 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.8682, allocations: 7.953 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8683, allocations: 15.98 kB / 0.9855 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.8684, allocations: 11.98 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8684, allocations: 0 / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.8684, allocations: 83.28 kB / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8684, allocations: 0 / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000216/0.8687, allocations: 8 kB / 0.9856 GB, free: 1.387 MB / 0.7325 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.0006333/0.8693, allocations: 0.7553 MB / 0.9863 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.8696, allocations: 91.92 kB / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8696, allocations: 0 / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.8698, allocations: 47.95 kB / 0.9865 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.8701, allocations: 9.5 kB / 0.9865 GB, free: 468 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.8705, allocations: 172.2 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.8708, allocations: 0.6848 MB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.8708, allocations: 7.984 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.8709, allocations: 15.44 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.8709, allocations: 0 / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.8824, allocations: 1.288 MB / 0.9886 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.8827, allocations: 195.7 kB / 0.9888 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.656, allocations: 0 / 0.9888 GB, free: 14.13 MB / 0.7481 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) Environment - environmentSimulation: 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