Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001656/0.001656, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002074/0.002074, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.948/2.948, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [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.002101/0.002101, allocations: 78.38 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9258, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001612/0.9274, allocations: 0.7053 MB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.9282, allocations: 0.9067 MB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.9283, allocations: 0 / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.9283, allocations: 3.938 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.9284, allocations: 10.5 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.9285, allocations: 18.2 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.9286, allocations: 39.33 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.9287, allocations: 24.64 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.9288, allocations: 24.38 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.9288, allocations: 23.8 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.9288, allocations: 2.688 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.9288, allocations: 5.281 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.9288, allocations: 4 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.9289, allocations: 20.31 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.168e-05/0.929, allocations: 38.39 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.929, allocations: 0 / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.929, allocations: 0 / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.929, allocations: 3.156 kB / 1.324 GB, free: 23.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004377/0.9294, allocations: 368.5 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.9294, allocations: 14.77 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.9295, allocations: 3.844 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.647e-05/0.9295, allocations: 168.3 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.9295, allocations: 6.688 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.9296, allocations: 384 / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.9298, allocations: 75.62 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9298, allocations: 192 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.9298, allocations: 3.938 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9298, allocations: 0 / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.9301, allocations: 63.55 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.9304, allocations: 268.2 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.9306, allocations: 59.31 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.9307, allocations: 39.7 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.9307, allocations: 3.938 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.9307, allocations: 41.16 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.9307, allocations: 0 / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.9313, allocations: 129.1 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.9313, allocations: 51.41 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.9313, allocations: 117.6 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.9314, allocations: 25.7 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.9314, allocations: 87.08 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.9314, allocations: 11.84 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.9314, allocations: 16.75 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.9315, allocations: 316.9 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.9316, allocations: 31.52 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.9318, allocations: 34.61 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.932, allocations: 67.38 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.932, allocations: 3.938 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003048/0.9323, allocations: 98.19 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9323, allocations: 5.062 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.9323, allocations: 3.938 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9324, allocations: 0 / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.9325, allocations: 21.66 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9325, allocations: 0 / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.9326, allocations: 16 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.9326, allocations: 0 / 1.326 GB, free: 22.07 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 (3): * Single equations (assignments): 3 * 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.393e-05/0.9326, allocations: 116.7 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.9326, allocations: 3.953 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.9327, allocations: 14.28 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.9327, allocations: 0 / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9327, allocations: 0 / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9327, allocations: 3.984 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.9328, allocations: 172 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9328, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.9329, allocations: 18.48 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-06/0.9329, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9329, allocations: 3.656 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9329, allocations: 2.812 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9329, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.9332, allocations: 199.2 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.9333, allocations: 87.97 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.9333, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9334, allocations: 14.94 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.9334, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9334, allocations: 2.625 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.9334, allocations: 87.83 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9334, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002234/0.9337, allocations: 5.5 kB / 1.327 GB, free: 21.38 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 (3): * Single equations (assignments): 3 * 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.0001133/0.9338, allocations: 102.4 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.9341, allocations: 66.39 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.9341, allocations: 2.531 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.9343, allocations: 40.34 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.9346, allocations: 20.52 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.9348, allocations: 143.2 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.9349, allocations: 0.6806 MB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.935, allocations: 10.31 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.935, allocations: 0 / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of Templates: time 0.002085/0.937, allocations: 0.7495 MB / 1.328 GB, free: 20.37 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.23905625900079]