Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001756/0.001756, allocations: 118.5 kB / 17.13 MB, free: 5.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.002138/0.002138, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.057 GB, free: 1.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002181/0.2985, allocations: 0.8889 MB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2996, allocations: 0.8897 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.2997, allocations: 7.938 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/0.2998, allocations: 11.81 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.2998, allocations: 7.875 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3001, allocations: 67.89 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.3003, allocations: 135.7 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3004, allocations: 49.44 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.3005, allocations: 59.78 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.3006, allocations: 59.69 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3006, allocations: 16 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.3006, allocations: 12 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.3007, allocations: 27.92 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.3007, allocations: 59.66 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3009, allocations: 147.2 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3009, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3009, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.3009, allocations: 0 / 1.216 GB, free: 14.41 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006722/0.3016, allocations: 454.9 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3016, allocations: 8.031 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.3017, allocations: 20.84 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.302, allocations: 216.1 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.302, allocations: 8.375 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.302, allocations: 16.36 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3024, allocations: 150.2 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3024, allocations: 192 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3024, allocations: 7.938 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3024, allocations: 4 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.3027, allocations: 127.9 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.3035, allocations: 492.2 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3037, allocations: 86.42 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3039, allocations: 44.83 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3039, allocations: 0 / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3039, allocations: 38.56 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.3039, allocations: 3.938 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004932/0.3044, allocations: 161.9 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3044, allocations: 51.41 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3046, allocations: 195.5 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3047, allocations: 25.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.3047, allocations: 120 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3048, allocations: 39.69 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.3048, allocations: 25.72 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.305, allocations: 330.8 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3051, allocations: 39.98 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3052, allocations: 43.97 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3055, allocations: 100.6 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3055, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000331/0.3058, allocations: 145.5 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3058, allocations: 4 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3058, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3059, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.306, allocations: 23.92 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.306, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3061, allocations: 23.88 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3061, allocations: 4 kB / 1.219 GB, free: 11.23 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 (13): * Single equations (assignments): 13 * 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 0.0001055/0.3062, allocations: 117.8 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3063, allocations: 19.91 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.3066, allocations: 135 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3066, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.3066, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3067, allocations: 7.984 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.3073, allocations: 448.8 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3073, allocations: 0 / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3074, allocations: 23.98 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3074, allocations: 4 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3074, allocations: 8.078 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3074, allocations: 4 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3074, allocations: 4 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.3078, allocations: 257.9 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3078, allocations: 96.95 kB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3079, allocations: 7.938 kB / 1.22 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.308, allocations: 11.98 kB / 1.22 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.308, allocations: 15.92 kB / 1.22 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3081, allocations: 4 kB / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000126/0.3082, allocations: 144.1 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3082, allocations: 0 / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002448/0.3084, allocations: 24 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001376/0.3086, allocations: 99.25 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.3089, allocations: 99.88 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3089, allocations: 4 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.309, allocations: 48.09 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3093, allocations: 12 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.3098, allocations: 283.9 kB / 1.221 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3102, allocations: 0.7123 MB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3102, allocations: 15.44 kB / 1.222 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3102, allocations: 0 / 1.222 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.003293/0.3135, allocations: 1.573 MB / 1.223 GB, free: 6.883 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.229725444922224]