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.001605/0.001605, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001815/0.001815, allocations: 194.7 kB / 16.26 MB, free: 6.637 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.601/2.601, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8286, allocations: 140.4 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001941/0.8306, allocations: 0.764 MB / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000732/0.8313, allocations: 0.8677 MB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.8313, allocations: 4 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.8314, allocations: 0 / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.8315, allocations: 5.312 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.8316, allocations: 16.11 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.8317, allocations: 41.73 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8318, allocations: 16.09 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.8319, allocations: 18.8 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.8319, allocations: 20.05 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.8319, allocations: 8.125 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.832, allocations: 4.125 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.832, allocations: 13.11 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.832, allocations: 10.81 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.8321, allocations: 39.53 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8321, allocations: 0 / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8321, allocations: 0.9375 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8321, allocations: 0 / 0.9509 GB, free: 7.637 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.0004227/0.8325, allocations: 372.3 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.8326, allocations: 9.844 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.8326, allocations: 3.094 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.162e-05/0.8327, allocations: 174.4 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.8327, allocations: 1.406 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.8327, allocations: 6.938 kB / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.833, allocations: 71.3 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.833, allocations: 192 / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.833, allocations: 13.25 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.833, allocations: 0 / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.8333, allocations: 59.53 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.8336, allocations: 262.8 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.8338, allocations: 68.59 kB / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.834, allocations: 40.25 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.834, allocations: 3.984 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.834, allocations: 31.72 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.834, allocations: 3.938 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005157/0.8345, allocations: 134.5 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.8346, allocations: 51.41 kB / 0.9521 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.8346, allocations: 112.4 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.8346, allocations: 29.7 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.8347, allocations: 89.91 kB / 0.9524 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.8347, allocations: 12.91 kB / 0.9524 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.8347, allocations: 13.84 kB / 0.9524 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.8348, allocations: 314.8 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8349, allocations: 33.05 kB / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.8351, allocations: 25.72 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.8353, allocations: 76.34 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8353, allocations: 3.938 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002893/0.8356, allocations: 101.1 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8356, allocations: 9.094 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8357, allocations: 5.609 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8357, allocations: 0 / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.8358, allocations: 13.77 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.8358, allocations: 1.094 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.8359, allocations: 10.83 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.8359, allocations: 1.562 kB / 0.953 GB, free: 5.652 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 4.743e-05/0.836, allocations: 119 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.836, allocations: 1.406 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.836, allocations: 9.266 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.836, allocations: 1.406 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.836, allocations: 3.938 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.836, allocations: 0 / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.8362, allocations: 170 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8362, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8363, allocations: 18.09 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8363, allocations: 1.188 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8363, allocations: 4 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.8363, allocations: 1.188 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8363, allocations: 0 / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.8366, allocations: 200.2 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.8367, allocations: 78.86 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.8367, allocations: 7.984 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.8368, allocations: 16.02 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.8368, allocations: 5.781 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.8368, allocations: 1.438 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.8369, allocations: 86.11 kB / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8369, allocations: 0 / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.8371, allocations: 13.88 kB / 0.9537 GB, free: 4.922 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.000115/0.8372, allocations: 102.6 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.8376, allocations: 74.41 kB / 0.9538 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8376, allocations: 0 / 0.9538 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.8377, allocations: 37.17 kB / 0.9539 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.838, allocations: 16.56 kB / 0.9539 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.8383, allocations: 128.8 kB / 0.954 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.8384, allocations: 0.687 MB / 0.9547 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.8385, allocations: 5.906 kB / 0.9547 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.8385, allocations: 9.375 kB / 0.9547 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8385, allocations: 4 kB / 0.9547 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.002486/0.841, allocations: 0.6186 MB / 0.9553 GB, free: 3.605 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