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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00179/0.00179, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.00177/0.00177, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.44 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3821, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002493/0.3847, allocations: 0.7074 MB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3859, allocations: 0.8762 MB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.386, allocations: 0 / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.386, allocations: 3.938 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.3861, allocations: 7.922 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.3864, allocations: 19.98 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3865, allocations: 47.8 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3866, allocations: 15.97 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.3867, allocations: 15.92 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.3868, allocations: 19.92 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.3868, allocations: 4 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.3869, allocations: 4 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.3869, allocations: 11.98 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.387, allocations: 19.88 kB / 0.9529 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3871, allocations: 39.86 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3871, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3871, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3871, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 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.0007158/0.3878, allocations: 371.3 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.3879, allocations: 8.031 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.388, allocations: 4.938 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3882, allocations: 176.2 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3882, allocations: 4.375 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3882, allocations: 4.359 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.3886, allocations: 70.2 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3886, allocations: 192 / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3886, allocations: 7.938 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3886, allocations: 0 / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.389, allocations: 67.92 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.3895, allocations: 260.9 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3897, allocations: 58.47 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3899, allocations: 44.91 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.39, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.39, allocations: 34.56 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.39, allocations: 0 / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006632/0.3907, allocations: 133.4 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3907, allocations: 51.41 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3909, allocations: 109.8 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3909, allocations: 25.7 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.391, allocations: 88.12 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.391, allocations: 7.844 kB / 0.9544 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3911, allocations: 21.66 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3912, allocations: 318.8 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3914, allocations: 31.97 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3916, allocations: 27.97 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.3919, allocations: 72.78 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3919, allocations: 3.938 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003947/0.3923, allocations: 101.5 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3924, allocations: 7.984 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3924, allocations: 4 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3924, allocations: 4 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3926, allocations: 11.98 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3926, allocations: 4 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.3927, allocations: 15.98 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3927, allocations: 0 / 0.955 GB, free: 3.926 MB / 0.7325 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 0.0001268/0.3928, allocations: 115.8 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3929, allocations: 0 / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.3929, allocations: 15.89 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.393, allocations: 0 / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.393, allocations: 0 / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.393, allocations: 4 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.3932, allocations: 173.8 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3932, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3934, allocations: 19.97 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3934, allocations: 0 / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3934, allocations: 0 / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3934, allocations: 3.938 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3934, allocations: 0 / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.3939, allocations: 199.4 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3939, allocations: 85.05 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.394, allocations: 3.984 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3941, allocations: 11.98 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.3942, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3942, allocations: 4 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.018e-05/0.3943, allocations: 91.27 kB / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.216e-06/0.3943, allocations: 0 / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002964/0.3946, allocations: 11.94 kB / 0.9557 GB, free: 3.105 MB / 0.7325 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.0001823/0.3948, allocations: 98.06 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3952, allocations: 79.86 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3952, allocations: 0 / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3954, allocations: 35.95 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3958, allocations: 11.88 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.3963, allocations: 129.5 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3967, allocations: 0.6883 MB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.3967, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3968, allocations: 11.44 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.3968, allocations: 0 / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of Templates: time 0.003754/0.4005, allocations: 0.7117 MB / 0.9574 GB, free: 1.293 MB / 0.7325 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 -s cvode -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/jenkins1/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