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.007826/0.007826, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 197.1 kB / 16.67 MB, free: 5.52 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.489/2.489, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.203, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001842/1.204, allocations: 0.7032 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/1.205, allocations: 0.8783 MB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/1.205, allocations: 1.406 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/1.205, allocations: 3.938 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/1.206, allocations: 5.891 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/1.206, allocations: 20.09 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.134e-05/1.206, allocations: 38.84 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/1.206, allocations: 19.69 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/1.206, allocations: 17.39 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/1.206, allocations: 26.31 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/1.206, allocations: 4.375 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/1.206, allocations: 3.125 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/1.206, allocations: 6.828 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/1.206, allocations: 17.73 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/1.206, allocations: 40.73 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.206, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/1.206, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.706e-06/1.206, allocations: 4.969 kB / 1.09 GB, free: 4.297 MB / 0.8575 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.0004536/1.207, allocations: 364.4 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.207, allocations: 8.938 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/1.207, allocations: 7.734 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/1.207, allocations: 170.7 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.207, allocations: 1.438 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.207, allocations: 1.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/1.207, allocations: 77.78 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.207, allocations: 192 / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.207, allocations: 3.938 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.207, allocations: 1.062 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/1.208, allocations: 66.67 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/1.208, allocations: 274.7 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/1.208, allocations: 54.7 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/1.208, allocations: 41.33 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.208, allocations: 0.9688 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/1.208, allocations: 40.08 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.208, allocations: 0 / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005195/1.209, allocations: 128.6 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/1.209, allocations: 53.39 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/1.209, allocations: 110.8 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/1.209, allocations: 25.7 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/1.209, allocations: 88.41 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/1.209, allocations: 13.73 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/1.209, allocations: 17.97 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/1.209, allocations: 313.4 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/1.209, allocations: 30.55 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.209, allocations: 36.03 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/1.21, allocations: 70 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.21, allocations: 3.938 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/1.21, allocations: 98.36 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.21, allocations: 8.844 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.21, allocations: 0 / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.21, allocations: 0.7812 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.21, allocations: 19.69 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.21, allocations: 0.875 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/1.21, allocations: 15.38 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.21, allocations: 0.8125 kB / 1.092 GB, free: 2.52 MB / 0.8575 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 5.607e-05/1.21, allocations: 116.8 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/1.21, allocations: 5.875 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/1.21, allocations: 10.72 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.21, allocations: 0.6875 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.21, allocations: 0 / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.21, allocations: 1.453 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/1.211, allocations: 170.2 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.211, allocations: 0.8438 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/1.211, allocations: 24.2 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.211, allocations: 3.938 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.211, allocations: 0.625 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.211, allocations: 0.5938 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.211, allocations: 1.453 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/1.211, allocations: 201.7 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/1.211, allocations: 83.72 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/1.211, allocations: 0.5625 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/1.211, allocations: 11.91 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/1.211, allocations: 4.531 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.211, allocations: 0.6875 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.507e-05/1.211, allocations: 87.8 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.211, allocations: 0 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002138/1.212, allocations: 11.02 kB / 1.092 GB, free: 1.84 MB / 0.8575 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.0001456/1.212, allocations: 104.1 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003363/1.212, allocations: 71.19 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.212, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.212, allocations: 39.89 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/1.212, allocations: 9.188 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/1.213, allocations: 122.3 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/1.213, allocations: 0.6884 MB / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.893e-05/1.213, allocations: 2.266 kB / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/1.213, allocations: 13.47 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/1.213, allocations: 0 / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of Templates: time 0.003508/1.216, allocations: 0.724 MB / 1.094 GB, free: 0.8242 MB / 0.8575 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