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.001669/0.001669, allocations: 116.6 kB / 17.13 MB, free: 6.027 MB / 14.72 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.002076/0.002076, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.001/3.001, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003385/0.003385, allocations: 71.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9515, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001737/0.9532, allocations: 0.6605 MB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.954, allocations: 0.8622 MB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.954, allocations: 0 / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.954, allocations: 2.438 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.9541, allocations: 3.938 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.9542, allocations: 13.95 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.9543, allocations: 27.92 kB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.9544, allocations: 6.812 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.9544, allocations: 9.625 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.1e-05/0.9545, allocations: 13.97 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.9545, allocations: 0 / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.9545, allocations: 8.906 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.9545, allocations: 10.36 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.9546, allocations: 7.922 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.173e-05/0.9546, allocations: 34.2 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9547, allocations: 0 / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9547, allocations: 3.938 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.9547, allocations: 0 / 1.324 GB, free: 23.92 MB / 1.061 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.0003492/0.955, allocations: 339.3 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.955, allocations: 12.48 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.9551, allocations: 11.08 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.9552, allocations: 168.3 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.9552, allocations: 3.406 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.9552, allocations: 384 / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.9554, allocations: 48.45 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.9554, allocations: 192 / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.9554, allocations: 3.938 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.9554, allocations: 0 / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.9555, allocations: 38.31 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.9558, allocations: 247.3 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.9559, allocations: 40.77 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.956, allocations: 21.03 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.956, allocations: 0 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.956, allocations: 44.77 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.956, allocations: 0 / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003208/0.9563, allocations: 76.69 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.9563, allocations: 55.41 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.9564, allocations: 98.58 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.9564, allocations: 29.83 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.9564, allocations: 86.8 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.9564, allocations: 3.953 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.9565, allocations: 15.64 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.9565, allocations: 314.8 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.9566, allocations: 17.03 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.9566, allocations: 16.81 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.9568, allocations: 45.48 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9568, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.957, allocations: 73.58 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.957, allocations: 5.594 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.957, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.957, allocations: 32 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.9571, allocations: 12.05 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.9571, allocations: 6.609 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.9571, allocations: 6.078 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.9571, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 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 4.101e-05/0.9572, allocations: 112.5 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.9572, allocations: 7.422 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.9574, allocations: 78.7 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.9574, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.9574, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9574, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.9575, allocations: 161.2 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9575, allocations: 0 / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.9576, allocations: 10.89 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9576, allocations: 0 / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.9576, allocations: 0 / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9576, allocations: 0 / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9576, allocations: 4.031 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.9578, allocations: 166 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.9578, allocations: 77.3 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.9578, allocations: 3.938 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.9579, allocations: 12.97 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.9579, allocations: 4.031 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.9579, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.9579, allocations: 85.45 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9579, allocations: 2.938 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002468/0.9582, allocations: 2.969 kB / 1.326 GB, free: 21.51 MB / 1.061 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.0001265/0.9583, allocations: 100.8 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.9585, allocations: 38.42 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9585, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.9586, allocations: 21.98 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.9589, allocations: 6.75 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.9592, allocations: 135.3 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.9592, allocations: 0.6855 MB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.9593, allocations: 11.56 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9593, allocations: 0 / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of Templates: time 0.001758/0.961, allocations: 0.5467 MB / 1.328 GB, free: 20.52 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.385451951005962]