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.001259/0.001259, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001404/0.001404, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.948/2.948, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 67.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9996/1.002, allocations: 176.1 MB / 1.322 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001721/1.004, allocations: 0.6777 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007471/1.005, allocations: 0.8503 MB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/1.005, allocations: 2.781 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/1.005, allocations: 0 / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/1.005, allocations: 7.312 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/1.005, allocations: 14.59 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/1.005, allocations: 29.98 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/1.005, allocations: 9.625 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/1.005, allocations: 10.94 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/1.005, allocations: 14.08 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/1.005, allocations: 2.625 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/1.005, allocations: 2.562 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/1.005, allocations: 10.09 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/1.005, allocations: 6.75 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/1.005, allocations: 33.44 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.005, allocations: 0 / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.005, allocations: 0 / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.005, allocations: 3.938 kB / 1.323 GB, free: 23.68 MB / 1.061 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.0003753/1.006, allocations: 341.8 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.006, allocations: 14.8 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.358e-05/1.006, allocations: 4.188 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.001e-05/1.006, allocations: 33.89 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/1.006, allocations: 3.938 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/1.006, allocations: 164.3 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/1.006, allocations: 2.5 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/1.006, allocations: 4.375 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.006, allocations: 59.08 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.006, allocations: 0 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/1.006, allocations: 2.938 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/1.006, allocations: 0 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/1.006, allocations: 30.7 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/1.007, allocations: 251.7 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/1.007, allocations: 33.45 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/1.007, allocations: 28.22 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/1.007, allocations: 3.406 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.007, allocations: 30.56 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.007, allocations: 0 / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/1.007, allocations: 84.84 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.007, allocations: 51.41 kB / 1.324 GB, free: 22.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/1.007, allocations: 95.3 kB / 1.324 GB, free: 22.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/1.007, allocations: 25.7 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/1.007, allocations: 90.03 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/1.007, allocations: 4.078 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/1.007, allocations: 16.34 kB / 1.324 GB, free: 22.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/1.007, allocations: 318.8 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/1.007, allocations: 17.23 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/1.008, allocations: 18.66 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/1.008, allocations: 46.17 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.008, allocations: 0 / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/1.008, allocations: 64.14 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.008, allocations: 5.062 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.008, allocations: 3.328 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.008, allocations: 0 / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/1.008, allocations: 5.906 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.008, allocations: 7.125 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/1.008, allocations: 9.75 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/1.008, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 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 4.964e-05/1.008, allocations: 119.8 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.008, allocations: 4.141 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1.008, allocations: 80.55 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.008, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.008, allocations: 4.031 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.008, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/1.008, allocations: 162.7 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.008, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/1.008, allocations: 8.984 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.008, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.008, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.008, allocations: 2.75 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.008, allocations: 3.938 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/1.009, allocations: 166.5 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/1.009, allocations: 79.83 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/1.009, allocations: 0 / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/1.009, allocations: 6.031 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/1.009, allocations: 10.09 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/1.009, allocations: 0 / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.222e-05/1.009, allocations: 78.09 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.009, allocations: 4 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002129/1.009, allocations: 5.594 kB / 1.326 GB, free: 21.23 MB / 1.061 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.0003942/1.009, allocations: 0.699 MB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002091/1.01, allocations: 40.61 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.01, allocations: 0 / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/1.01, allocations: 21.23 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/1.01, allocations: 5.891 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/1.01, allocations: 139.1 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/1.011, allocations: 0.6774 MB / 1.327 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.061e-05/1.011, allocations: 3.906 kB / 1.327 GB, free: 19.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/1.011, allocations: 11.44 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.011, allocations: 0 / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/1.027, allocations: 1.332 MB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/9.51, allocations: 5.281 kB / 1.329 GB, free: 19.29 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.08012553799199]