Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001639/0.001639, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001959/0.001959, allocations: 190.8 kB / 20.78 MB, free: 1.512 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.589/1.589, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.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.848/2.848, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.91 kB / 1.107 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002301/1.145, allocations: 0.6751 MB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/1.147, allocations: 0.8166 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/1.147, allocations: 0.7188 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/1.147, allocations: 0 / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/1.147, allocations: 9.328 kB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/1.147, allocations: 9.031 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/1.147, allocations: 24.22 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/1.147, allocations: 7.812 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/1.147, allocations: 8.781 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/1.147, allocations: 10.08 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/1.147, allocations: 1.469 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/1.147, allocations: 2.625 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/1.147, allocations: 10.19 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/1.147, allocations: 7 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/1.147, allocations: 29.27 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.147, allocations: 0 / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.147, allocations: 0 / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.147, allocations: 4 kB / 1.274 GB, free: 6.801 MB / 0.9981 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.0004821/1.148, allocations: 331 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.148, allocations: 10.33 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/1.148, allocations: 6.297 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.148, allocations: 163.5 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.148, allocations: 5.156 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/1.148, allocations: 5.625 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.148, allocations: 53.16 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.148, allocations: 192 / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.148, allocations: 4.656 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.148, allocations: 0.875 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/1.149, allocations: 37.77 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/1.149, allocations: 245 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/1.149, allocations: 48.7 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/1.149, allocations: 19.44 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.149, allocations: 0 / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/1.149, allocations: 37.44 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.149, allocations: 0.9688 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003865/1.15, allocations: 83.38 kB / 1.275 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.15, allocations: 56.25 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/1.15, allocations: 102.1 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.15, allocations: 25.7 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/1.15, allocations: 85.27 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.15, allocations: 5.578 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/1.15, allocations: 11.62 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.15, allocations: 318.3 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/1.15, allocations: 17.45 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/1.15, allocations: 13.64 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.15, allocations: 42.34 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.15, allocations: 0 / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/1.15, allocations: 70.36 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.15, allocations: 9.562 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.15, allocations: 0 / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.15, allocations: 1.156 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/1.15, allocations: 8.672 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.15, allocations: 1.312 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/1.15, allocations: 10.23 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/1.151, allocations: 5 kB / 1.275 GB, free: 5.09 MB / 0.9981 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 6.088e-05/1.151, allocations: 111.9 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/1.151, allocations: 0.5938 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/1.151, allocations: 73.08 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.151, allocations: 0 / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.151, allocations: 4.609 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.151, allocations: 0.9688 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/1.151, allocations: 163.2 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.151, allocations: 0.7031 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/1.151, allocations: 12.56 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.151, allocations: 3.938 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.151, allocations: 7.156 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.151, allocations: 0 / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.151, allocations: 0.9375 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/1.151, allocations: 168.8 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/1.151, allocations: 78.91 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.151, allocations: 1.359 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/1.151, allocations: 6.25 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.151, allocations: 3.234 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/1.151, allocations: 0.875 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.544e-05/1.151, allocations: 85.28 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.151, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002127/1.152, allocations: 7.906 kB / 1.276 GB, free: 4.391 MB / 0.9981 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.0001846/1.152, allocations: 97.31 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00024/1.152, allocations: 39.45 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.152, allocations: 0 / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/1.152, allocations: 20.03 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/1.153, allocations: 11.19 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/1.153, allocations: 132.2 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.153, allocations: 0.673 MB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.69e-05/1.153, allocations: 1.75 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/1.153, allocations: 8.469 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.153, allocations: 4.969 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of Templates: time 0.003253/1.156, allocations: 442.8 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.771016106940806]