Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 195.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.702/2.702, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.91 kB / 0.8125 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8881, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.00378/0.8919, allocations: 0.6978 MB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.8937, allocations: 0.8739 MB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.8938, allocations: 1.125 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.8939, allocations: 3.938 kB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.8941, allocations: 8.953 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.8943, allocations: 19.06 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.8945, allocations: 42.05 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.8947, allocations: 12.39 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.8948, allocations: 19.03 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.8949, allocations: 24.5 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.895, allocations: 3.969 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.895, allocations: 4.344 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.895, allocations: 11.92 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.8951, allocations: 16.11 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.8953, allocations: 38.59 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8953, allocations: 1.219 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.468e-06/0.8953, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8953, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 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.0007382/0.8961, allocations: 369.4 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.8961, allocations: 9.281 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.8962, allocations: 6.609 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.8964, allocations: 170.7 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.8964, allocations: 1.781 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.8964, allocations: 1.625 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.8968, allocations: 67.97 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8968, allocations: 8.125 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.8969, allocations: 8.859 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8969, allocations: 1.281 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.8974, allocations: 62.14 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.8978, allocations: 271.9 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.8981, allocations: 64.5 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.8984, allocations: 39.17 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.8984, allocations: 1.219 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.8984, allocations: 34.56 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.8985, allocations: 1.312 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0008691/0.8993, allocations: 132.8 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.8994, allocations: 52.62 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.8995, allocations: 107.8 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.8995, allocations: 33.7 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.8996, allocations: 83.14 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.8996, allocations: 15.83 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.8997, allocations: 13.53 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.8997, allocations: 316.2 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.9, allocations: 32.77 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.9002, allocations: 33.53 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.9007, allocations: 67.28 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9007, allocations: 4.875 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005155/0.9012, allocations: 104.6 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.9013, allocations: 5.562 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.9013, allocations: 0 / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.9013, allocations: 1.438 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.9015, allocations: 17.41 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9015, allocations: 1.469 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.9017, allocations: 10.77 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.9017, allocations: 1.344 kB / 0.9534 GB, free: 5.781 MB / 0.7169 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 7.433e-05/0.9018, allocations: 119 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.9019, allocations: 2.906 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.9019, allocations: 3.906 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9019, allocations: 1.375 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9019, allocations: 0 / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9019, allocations: 5.453 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.9022, allocations: 176.5 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9022, allocations: 0 / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.9023, allocations: 18.7 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9024, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9024, allocations: 1.344 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.9024, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9024, allocations: 1.375 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.903, allocations: 212.2 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.903, allocations: 78.58 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.9031, allocations: 0 / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.9033, allocations: 10.52 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.9033, allocations: 10.42 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.9034, allocations: 5.219 kB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.9034, allocations: 85.45 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9034, allocations: 0 / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004105/0.9038, allocations: 10.53 kB / 0.9541 GB, free: 5.047 MB / 0.7169 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.000153/0.904, allocations: 102.4 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000571/0.9046, allocations: 70.8 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9046, allocations: 0 / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.9049, allocations: 32.88 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.9054, allocations: 21.27 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.9059, allocations: 124.6 kB / 0.9544 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.9061, allocations: 0.6841 MB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.021e-05/0.9061, allocations: 5.375 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.9062, allocations: 13.83 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.9062, allocations: 0 / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.00482/0.911, allocations: 0.7221 MB / 0.9558 GB, free: 3.695 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches