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.001434/0.001433, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001875/0.001875, allocations: 191 kB / 16.13 MB, free: 6.645 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.618/1.618, allocations: 222.9 MB / 239.8 MB, free: 4.504 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.877/2.877, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9301, allocations: 140.3 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002748/0.9329, allocations: 0.7679 MB / 0.9497 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.9341, allocations: 0.8635 MB / 0.9505 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.9342, allocations: 4 kB / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.9343, allocations: 0 / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.9344, allocations: 9.172 kB / 0.9505 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.9346, allocations: 15.39 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.9347, allocations: 41.61 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.9348, allocations: 8.891 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.9349, allocations: 17.61 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.935, allocations: 25.52 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.935, allocations: 1.406 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.935, allocations: 2.781 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.9351, allocations: 9.297 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.9351, allocations: 16.14 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.9352, allocations: 39.16 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9352, allocations: 0 / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9352, allocations: 0 / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.9352, allocations: 0 / 0.9507 GB, free: 7.73 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.0006535/0.9359, allocations: 372.5 kB / 0.9511 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.936, allocations: 10.25 kB / 0.9511 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.9361, allocations: 2.281 kB / 0.9511 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.9362, allocations: 167.4 kB / 0.9512 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.9363, allocations: 5.438 kB / 0.9512 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.9363, allocations: 1.594 kB / 0.9512 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.9366, allocations: 79.22 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.9367, allocations: 1.562 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.9367, allocations: 7.938 kB / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9367, allocations: 0 / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.9371, allocations: 64.12 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.9376, allocations: 263.2 kB / 0.9516 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.9379, allocations: 64.22 kB / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.9381, allocations: 40.17 kB / 0.9517 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.9381, allocations: 0 / 0.9517 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.9382, allocations: 35.92 kB / 0.9518 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.9382, allocations: 4 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0007704/0.939, allocations: 129.8 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.939, allocations: 52.78 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9391, allocations: 107.5 kB / 0.9521 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.9391, allocations: 25.7 kB / 0.9521 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.9392, allocations: 93.5 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.9393, allocations: 13.2 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.9393, allocations: 16.47 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.9394, allocations: 316.2 kB / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.9396, allocations: 33.83 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.9399, allocations: 33.03 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.9402, allocations: 67.72 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9403, allocations: 3.938 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004624/0.9407, allocations: 101.5 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.9408, allocations: 9.406 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9408, allocations: 0 / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.9408, allocations: 5.047 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.941, allocations: 18.52 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.941, allocations: 0 / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.9412, allocations: 10.8 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.9412, allocations: 1.531 kB / 0.9528 GB, free: 5.75 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 8.645e-05/0.9413, allocations: 115.4 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.9413, allocations: 3.25 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.9414, allocations: 11.89 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9414, allocations: 1.531 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.9414, allocations: 0 / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9414, allocations: 3.938 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.9416, allocations: 169.5 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9416, allocations: 0 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.9418, allocations: 15.52 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.9418, allocations: 4.312 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.9418, allocations: 4 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9418, allocations: 1.719 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9418, allocations: 0 / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.9423, allocations: 203.8 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.9424, allocations: 78.33 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.9424, allocations: 5.406 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.9426, allocations: 14.81 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.9426, allocations: 5.156 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.9427, allocations: 1.031 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.9427, allocations: 93.88 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9427, allocations: 0.8438 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003759/0.9431, allocations: 6.219 kB / 0.9535 GB, free: 5.02 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.0001493/0.9433, allocations: 101.6 kB / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000461/0.9437, allocations: 71.05 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9438, allocations: 0 / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.944, allocations: 41.2 kB / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.9445, allocations: 18.19 kB / 0.9537 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.945, allocations: 138 kB / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.9451, allocations: 0.6799 MB / 0.9545 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.9452, allocations: 1.125 kB / 0.9545 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.9452, allocations: 13 kB / 0.9545 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.9452, allocations: 1.594 kB / 0.9545 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.00361/0.9489, allocations: 0.5773 MB / 0.9551 GB, free: 3.727 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