Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.0008136/0.0008136, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001326/0.001326, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8767/0.8767, allocations: 177.1 MB / 203.5 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.708/1.708, allocations: 377.8 MB / 0.6229 GB, free: 8.66 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.447e-06/3.447e-06, allocations: 0 / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.893e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001482/0.001521, allocations: 0.6755 MB / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.002358, allocations: 0.8393 MB / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.002393, allocations: 4 kB / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.002421, allocations: 0 / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.00248, allocations: 3.938 kB / 0.9838 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002665, allocations: 19.91 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.002736, allocations: 23.92 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.00283, allocations: 8 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.002896, allocations: 11.98 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.002931, allocations: 11.94 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.002945, allocations: 0 / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.002991, allocations: 4 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.003006, allocations: 7.969 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003026, allocations: 8 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003135, allocations: 27.91 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003138, allocations: 0 / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003139, allocations: 0 / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003143, allocations: 4 kB / 0.9839 GB, free: 372 kB / 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.0003665/0.00351, allocations: 266.3 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.00355, allocations: 8.031 kB / 0.9841 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.003634, allocations: 8.875 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.003732, allocations: 105.8 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.003743, allocations: 4.312 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.003754, allocations: 4.375 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.003889, allocations: 46.23 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003896, allocations: 4.188 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003905, allocations: 4.375 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.00391, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.004003, allocations: 31.91 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.004271, allocations: 192.6 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.004359, allocations: 42.5 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.004403, allocations: 16.91 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.004425, allocations: 3.984 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.004447, allocations: 38.56 kB / 0.9846 GB, free: 15.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.004449, allocations: 4 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.00468, allocations: 73.59 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.004715, allocations: 63.27 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.004777, allocations: 105.8 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.004787, allocations: 25.7 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.004822, allocations: 84.08 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.00484, allocations: 12.08 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.004871, allocations: 17.7 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.00495, allocations: 310.8 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.005, allocations: 19.98 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.005035, allocations: 11.98 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.097e-05/0.005115, allocations: 40.81 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005118, allocations: 64 / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.005224, allocations: 73.62 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005236, allocations: 11.92 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005242, allocations: 3.938 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.005255, allocations: 0 / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.005322, allocations: 8 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005327, allocations: 4 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.005351, allocations: 7.984 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.005356, allocations: 7.969 kB / 0.9855 GB, free: 14.56 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.154e-05/0.005408, allocations: 108.2 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.005421, allocations: 4 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.005559, allocations: 76.89 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.005562, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005566, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.005568, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.005659, allocations: 109.3 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00566, allocations: 4.031 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.005688, allocations: 7.984 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.00569, allocations: 3.938 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.005695, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.005699, allocations: 7.938 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005699, allocations: 0 / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.00583, allocations: 155.5 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.005837, allocations: 3.953 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.005847, allocations: 32 / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.005891, allocations: 15.92 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.00593, allocations: 8 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005933, allocations: 0 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.00596, allocations: 83.27 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00596, allocations: 0 / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001455/0.006105, allocations: 4 kB / 0.986 GB, free: 13.92 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.0001112/0.006216, allocations: 91.25 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.006346, allocations: 47.83 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006347, allocations: 0 / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.006387, allocations: 19.98 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.006636, allocations: 10.97 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.006939, allocations: 134.5 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/0.006988, allocations: 59.34 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.007019, allocations: 16.62 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.00702, allocations: 4 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of Templates: time 0.001758/0.008777, allocations: 0.5489 MB / 0.9869 GB, free: 12.94 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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: 6.383486499078572]