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.0008305/0.0008305, 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.000952/0.000952, allocations: 169.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.9223/0.9223, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.759/1.759, 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.996e-06/2.996e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.235e-05, allocations: 6.219 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001901/0.001923, allocations: 0.677 MB / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.002688, allocations: 0.8392 MB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.002715, allocations: 8 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.002739, allocations: 0 / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.002793, allocations: 11.92 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.002957, allocations: 8 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.003017, allocations: 23.86 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.0031, allocations: 8 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.003157, allocations: 11.98 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.003187, allocations: 7.984 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003198, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.003236, allocations: 11.98 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.003248, allocations: 4 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.003264, allocations: 11.94 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.003351, allocations: 23.95 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003354, allocations: 0 / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003355, allocations: 0 / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003359, allocations: 0 / 0.9826 GB, free: 0.8711 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.00032/0.003679, allocations: 262.3 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003714, allocations: 8.031 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.617e-05/0.00374, allocations: 30.75 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.003803, allocations: 12.89 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.00388, allocations: 113.7 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.003889, allocations: 384 / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.003896, allocations: 4.375 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.004017, allocations: 46.25 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004024, allocations: 4.188 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004033, allocations: 4.359 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.004039, allocations: 4.125 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.004125, allocations: 31.97 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.004396, allocations: 220 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.004491, allocations: 38.5 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.004533, allocations: 20.84 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.004551, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004572, allocations: 38.5 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.004573, allocations: 0 / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.00479, allocations: 93.52 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.004819, allocations: 51.41 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.004876, allocations: 101.8 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004885, allocations: 25.7 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.004921, allocations: 84.09 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.004937, allocations: 15.89 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.004964, allocations: 9.719 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.005045, allocations: 318.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.00509, allocations: 15.98 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.005123, allocations: 16.11 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.005199, allocations: 40.81 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005201, allocations: 0 / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.005305, allocations: 73.55 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005317, allocations: 4 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005321, allocations: 4.094 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.005336, allocations: 192 / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.005402, allocations: 11.98 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005406, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.005429, allocations: 7.984 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005435, 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 5.239e-05/0.005487, allocations: 109.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.0055, allocations: 7.922 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.00563, allocations: 72.97 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005632, allocations: 4 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.005636, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.00564, allocations: 3.984 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.005742, allocations: 120.8 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005744, allocations: 3.938 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.005771, allocations: 11.98 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.005774, allocations: 3.938 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005779, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.005781, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005782, allocations: 7.969 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.005903, allocations: 159.5 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.00591, allocations: 7.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.005919, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.021e-05/0.00596, allocations: 15.98 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.00599, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005992, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.006019, allocations: 83.27 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006019, allocations: 4.031 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001438/0.006163, allocations: 4 kB / 0.9849 GB, free: 14.32 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.0003036/0.006466, allocations: 0.7006 MB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.006584, allocations: 35.95 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006586, allocations: 96 / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.006626, allocations: 27.92 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.006856, allocations: 4 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.007176, allocations: 130.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.007221, allocations: 59.34 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.007241, allocations: 4 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.007275, allocations: 12.5 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.007276, allocations: 4.062 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02286, allocations: 1.946 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.753, allocations: 9.734 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.890669399872422]