Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8664/0.8664, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.244e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001437/0.00146, allocations: 0.66 MB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.002239, allocations: 0.8432 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.002272, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.002299, allocations: 3.938 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.002354, allocations: 3.938 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.002529, allocations: 23.86 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.0026, allocations: 23.92 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.002702, allocations: 4 kB / 0.9826 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.00277, allocations: 15.92 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.002803, allocations: 11.98 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.002816, allocations: 0 / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.981e-05/0.002856, allocations: 4 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.002872, allocations: 11.98 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.002888, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.002981, allocations: 27.91 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002984, allocations: 0 / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002985, allocations: 4 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002988, allocations: 0 / 0.9826 GB, free: 0.8789 MB / 0.9323 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.000326/0.003314, allocations: 266.3 kB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.003354, allocations: 8.031 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.003382, allocations: 34.73 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.003442, allocations: 8.891 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.003515, allocations: 105.8 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003525, allocations: 4.375 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-06/0.003533, allocations: 4.375 kB / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.003655, allocations: 54.17 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003662, allocations: 192 / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003671, allocations: 4.375 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.003678, allocations: 8.109 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.00377, allocations: 35.95 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.004038, allocations: 204.1 kB / 0.9833 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.004119, allocations: 34.56 kB / 0.9834 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.004168, allocations: 32.94 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.004189, allocations: 4 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.00421, allocations: 38.5 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.00421, allocations: 3.938 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002251/0.004436, allocations: 81.64 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.004466, allocations: 51.41 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.004524, allocations: 97.86 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.004533, allocations: 29.83 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.004575, allocations: 92.08 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.004595, allocations: 3.953 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.004624, allocations: 17.72 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.004706, allocations: 310.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.004748, allocations: 15.92 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.004786, allocations: 23.97 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.004866, allocations: 36.89 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004868, allocations: 3.828 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.004977, allocations: 69.59 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.004991, allocations: 4 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.004997, allocations: 0 / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005008, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.005074, allocations: 7.984 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00508, allocations: 4.031 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.005102, allocations: 7.938 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005107, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 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 6.048e-05/0.005167, allocations: 117.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.005181, allocations: 3.938 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.005319, allocations: 68.97 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005321, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.005325, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005328, allocations: 4.031 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.005426, allocations: 128.7 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005427, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.005451, allocations: 11.98 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005453, allocations: 3.938 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.005459, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00546, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005461, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.005596, allocations: 171.4 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005604, allocations: 7.938 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005615, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.005653, allocations: 7.984 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.00569, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.005693, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.005725, allocations: 83.28 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005725, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001523/0.005877, allocations: 7.938 kB / 0.9849 GB, free: 14.33 MB / 0.948 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.0003179/0.006195, allocations: 0.7069 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.006323, allocations: 31.97 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006326, allocations: 4 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.006364, allocations: 11.98 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.006597, allocations: 20.02 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.006914, allocations: 138.4 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.006956, allocations: 63.34 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.006973, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.007004, allocations: 8.828 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.007004, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.02399, allocations: 1.956 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.742, allocations: 12.36 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcCos.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.84513982757926]