Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 67.88 kB / 1.108 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9194, allocations: 168.7 MB / 1.273 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00226/0.9216, allocations: 0.6694 MB / 1.274 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.9228, allocations: 0.8118 MB / 1.274 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.9228, allocations: 3.938 kB / 1.274 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.9228, allocations: 7.938 kB / 1.274 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.9229, allocations: 3.938 kB / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.9231, allocations: 7.984 kB / 1.274 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.9231, allocations: 31.92 kB / 1.274 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.9233, allocations: 7.984 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.9233, allocations: 15.92 kB / 1.274 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.9234, allocations: 8 kB / 1.274 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.9234, allocations: 0 / 1.274 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.9234, allocations: 4 kB / 1.274 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.9234, allocations: 3.938 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.9234, allocations: 11.92 kB / 1.274 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.908e-05/0.9235, allocations: 21.8 kB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9235, allocations: 0 / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9235, allocations: 0 / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9235, allocations: 4 kB / 1.274 GB, free: 2.629 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.0004875/0.924, allocations: 335.5 kB / 1.275 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9241, allocations: 12.03 kB / 1.275 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.9241, allocations: 30.75 kB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.9241, allocations: 4.891 kB / 1.275 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.9243, allocations: 172.3 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9243, allocations: 4.375 kB / 1.275 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.9243, allocations: 8.312 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.9245, allocations: 53.94 kB / 1.275 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9245, allocations: 3.984 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.9245, allocations: 4 kB / 1.275 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9245, allocations: 0 / 1.275 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.9247, allocations: 35.97 kB / 1.275 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.9251, allocations: 244.9 kB / 1.275 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.9252, allocations: 46.53 kB / 1.275 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.9253, allocations: 16.91 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.9253, allocations: 0 / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.9253, allocations: 30.56 kB / 1.275 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9253, allocations: 4 kB / 1.275 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003579/0.9257, allocations: 81.64 kB / 1.275 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.9257, allocations: 51.41 kB / 1.276 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.9258, allocations: 109.8 kB / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.9259, allocations: 25.7 kB / 1.276 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.9259, allocations: 84.09 kB / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.9259, allocations: 0 / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.926, allocations: 17.84 kB / 1.276 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9261, allocations: 318.8 kB / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.9262, allocations: 19.92 kB / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.9263, allocations: 15.98 kB / 1.276 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.9264, allocations: 36.77 kB / 1.276 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9264, allocations: 8.062 kB / 1.276 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.9266, allocations: 65.61 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9266, allocations: 8 kB / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9267, allocations: 0 / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9267, allocations: 4.125 kB / 1.276 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.9268, allocations: 7.984 kB / 1.276 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.9268, allocations: 0 / 1.276 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.9268, allocations: 11.98 kB / 1.276 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.9268, allocations: 4.031 kB / 1.276 GB, free: 0.5586 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 9.684e-05/0.9269, allocations: 114.7 kB / 1.276 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9269, allocations: 3.984 kB / 1.276 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.9272, allocations: 72.78 kB / 1.276 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9272, allocations: 0 / 1.276 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9272, allocations: 0 / 1.276 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9272, allocations: 3.938 kB / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.9274, allocations: 165.6 kB / 1.277 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9274, allocations: 0 / 1.277 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.9274, allocations: 15.92 kB / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9274, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.9274, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.9274, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9274, allocations: 0 / 1.277 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.9277, allocations: 167.5 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.9278, allocations: 81.06 kB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.9278, allocations: 4 kB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.9279, allocations: 3.984 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.9279, allocations: 4 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.9279, allocations: 4 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.9279, allocations: 79.28 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9279, allocations: 0 / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002105/0.9282, allocations: 12.03 kB / 1.277 GB, free: 15.75 MB / 0.9825 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.0006353/0.9288, allocations: 0.6973 MB / 1.278 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.929, allocations: 40 kB / 1.278 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.929, allocations: 0 / 1.278 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.9291, allocations: 11.98 kB / 1.278 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.9294, allocations: 17.42 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.9299, allocations: 167.5 kB / 1.278 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.9302, allocations: 0.6769 MB / 1.279 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.9302, allocations: 3.984 kB / 1.279 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.9302, allocations: 7.438 kB / 1.279 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9302, allocations: 0 / 1.279 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.9534, allocations: 1.257 MB / 1.28 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.824, allocations: 10.56 kB / 1.28 GB, free: 12.86 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.314581017941236]