Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",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.007767/0.007767, allocations: 97.22 kB / 15.73 MB, free: 6.004 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.001907/0.001907, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 70.42 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2902, allocations: 162.2 MB / 1.242 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001807/0.292, allocations: 0.6595 MB / 1.242 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009797/0.293, allocations: 0.8159 MB / 1.243 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.293, allocations: 0 / 1.243 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.2931, allocations: 0 / 1.243 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.2931, allocations: 3.938 kB / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2933, allocations: 11.98 kB / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.2934, allocations: 23.92 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.2935, allocations: 11.98 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.2935, allocations: 11.98 kB / 1.243 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.2936, allocations: 15.92 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2936, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.2936, allocations: 4 kB / 1.243 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2936, allocations: 3.984 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.2937, allocations: 7.938 kB / 1.243 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.995e-05/0.2937, allocations: 21.31 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2938, allocations: 0 / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2938, allocations: 8 kB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2938, allocations: 0 / 1.243 GB, free: 7.609 MB / 0.9669 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.0004666/0.2942, allocations: 339.7 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2943, allocations: 8.031 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2943, allocations: 34.69 kB / 1.243 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.2943, allocations: 4.938 kB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2945, allocations: 172.3 kB / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.2945, allocations: 384 / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2945, allocations: 4.375 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2947, allocations: 54.23 kB / 1.244 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2947, allocations: 3.938 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.2947, allocations: 0 / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2947, allocations: 0 / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2949, allocations: 27.97 kB / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.2953, allocations: 249 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.2954, allocations: 46.44 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.2955, allocations: 20.91 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2955, allocations: 0 / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2956, allocations: 30.56 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2956, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.2959, allocations: 85.64 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.296, allocations: 55.34 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.2961, allocations: 105.8 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2961, allocations: 25.7 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2962, allocations: 80.14 kB / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.2962, allocations: 3.953 kB / 1.244 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2962, allocations: 21.84 kB / 1.244 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2964, allocations: 318.8 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.2965, allocations: 15.98 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.2966, allocations: 19.98 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2967, allocations: 36.88 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2967, allocations: 11.94 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.2969, allocations: 65.56 kB / 1.245 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.297, allocations: 4 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.297, allocations: 4 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.297, allocations: 0 / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.2971, allocations: 7.984 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2971, allocations: 0 / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.2972, allocations: 12.02 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2972, allocations: 4 kB / 1.245 GB, free: 5.539 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.2973, allocations: 114.3 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.2973, allocations: 0 / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2975, allocations: 72.78 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2975, allocations: 0 / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2975, allocations: 0 / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2976, allocations: 8.016 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2977, allocations: 173.4 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2978, allocations: 0 / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.2978, allocations: 11.98 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2978, allocations: 192 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2978, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2978, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2979, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.2981, allocations: 167.4 kB / 1.245 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.2982, allocations: 85.06 kB / 1.245 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2982, allocations: 0 / 1.245 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.2983, allocations: 7.984 kB / 1.245 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.2983, allocations: 4 kB / 1.245 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2983, allocations: 0 / 1.245 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.2984, allocations: 79.28 kB / 1.246 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 4.031 kB / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000223/0.2986, allocations: 4 kB / 1.246 GB, free: 4.727 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005985/0.2992, allocations: 0.6967 MB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2995, allocations: 47.94 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2995, allocations: 0 / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.2996, allocations: 19.91 kB / 1.246 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.2998, allocations: 7.266 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.3002, allocations: 139.7 kB / 1.246 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3006, allocations: 0.6808 MB / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.3006, allocations: 0 / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.3007, allocations: 11.44 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.3007, allocations: 0 / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3208, allocations: 1.273 MB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.035, allocations: 11.98 kB / 1.248 GB, free: 1.836 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches