Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_latest_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.0009397/0.0009398, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00123/0.00123, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.655/2.655, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004402, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9026/0.9031, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001115/0.9042, allocations: 402.4 kB / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.9055, allocations: 0.7924 MB / 0.9823 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.9055, allocations: 0 / 0.9823 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.9056, allocations: 3.938 kB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.9057, allocations: 8 kB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.9059, allocations: 4 kB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.906, allocations: 19.92 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.9061, allocations: 4 kB / 0.9824 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.9062, allocations: 15.92 kB / 0.9824 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.9063, allocations: 3.984 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.9063, allocations: 4 kB / 0.9824 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.9064, allocations: 0 / 0.9824 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.9064, allocations: 11.92 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.9064, allocations: 29.7 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.591e-05/0.9065, allocations: 11.97 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.9065, allocations: 3.938 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.948e-06/0.9065, allocations: 0 / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.9066, allocations: 0 / 0.9824 GB, free: 4.969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005583/0.9071, allocations: 343.1 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.9072, allocations: 12.03 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.9072, allocations: 34.56 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.9073, allocations: 3.938 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.9074, allocations: 163.1 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.9074, allocations: 0 / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.9075, allocations: 0 / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.9077, allocations: 63.86 kB / 0.983 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.9077, allocations: 0 / 0.983 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9077, allocations: 3.984 kB / 0.983 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.9077, allocations: 8 kB / 0.983 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.9079, allocations: 43.95 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.9083, allocations: 244.9 kB / 0.9833 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.9084, allocations: 50.5 kB / 0.9834 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.9085, allocations: 28.91 kB / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.9086, allocations: 3.938 kB / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.9086, allocations: 34.56 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.9086, allocations: 0 / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003707/0.909, allocations: 97.73 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9091, allocations: 55.41 kB / 0.9836 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.9092, allocations: 101.8 kB / 0.9837 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.9092, allocations: 25.7 kB / 0.9837 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.9092, allocations: 84.08 kB / 0.9838 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.9093, allocations: 3.906 kB / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.9093, allocations: 0 / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9094, allocations: 318.8 kB / 0.9841 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.9095, allocations: 20.02 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.9096, allocations: 31.91 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.9097, allocations: 20.05 kB / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9097, allocations: 0 / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.9099, allocations: 77.61 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9099, allocations: 8 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9099, allocations: 0 / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.91, allocations: 7.969 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.9101, allocations: 8 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9101, allocations: 0 / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.9102, allocations: 11.98 kB / 0.9843 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.9102, allocations: 4 kB / 0.9843 GB, free: 2.871 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 (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 0.0001023/0.9103, allocations: 105.8 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.9103, allocations: 7.953 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.9106, allocations: 88.7 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9106, allocations: 4 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9106, allocations: 0 / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9106, allocations: 4 kB / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.9108, allocations: 157.6 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9108, allocations: 7.969 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.9109, allocations: 11.98 kB / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9109, allocations: 0 / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.9109, allocations: 3.953 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.9109, allocations: 4 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9109, allocations: 0 / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.9112, allocations: 171.5 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.9113, allocations: 81.11 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.9113, allocations: 0 / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.9114, allocations: 15.94 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.9114, allocations: 4.031 kB / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.9115, allocations: 0 / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.9115, allocations: 83.27 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9115, allocations: 0 / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002222/0.9118, allocations: 4 kB / 0.985 GB, free: 2.035 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 (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.0007046/0.9125, allocations: 0.7008 MB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.9127, allocations: 51.94 kB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9127, allocations: 0 / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.9128, allocations: 27.97 kB / 0.9857 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.9131, allocations: 7.953 kB / 0.9857 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.9136, allocations: 148.3 kB / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.9138, allocations: 0.6731 MB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.9138, allocations: 4 kB / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.9139, allocations: 15.42 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.9139, allocations: 0 / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.9253, allocations: 1.02 MB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.9255, allocations: 186.6 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.705, allocations: 8.062 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat does not exist to compare? outputFormat=mat