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.001045/0.001045, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001376/0.001376, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.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.573/2.573, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004286, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8253, allocations: 142.4 MB / 0.9545 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0009909/0.8264, allocations: 422.8 kB / 0.9549 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.8277, allocations: 0.8638 MB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.8278, allocations: 1.406 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.8279, allocations: 0 / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.828, allocations: 5.344 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.8282, allocations: 18.73 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.8284, allocations: 42.56 kB / 0.9558 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.8285, allocations: 11.95 kB / 0.9558 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.8286, allocations: 9.625 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.8287, allocations: 21.66 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.8288, allocations: 1.281 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.8288, allocations: 2.5 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.8288, allocations: 5.375 kB / 0.9558 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.8289, allocations: 35.27 kB / 0.9559 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.829, allocations: 25.94 kB / 0.9559 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.829, allocations: 0 / 0.9559 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.557e-06/0.829, allocations: 0 / 0.9559 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.829, allocations: 1.188 kB / 0.9559 GB, free: 6.625 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.000614/0.8296, allocations: 375.8 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.8297, allocations: 8.656 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.8298, allocations: 10.55 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.8299, allocations: 169.7 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.83, allocations: 5.031 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.83, allocations: 1.156 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.8303, allocations: 89.52 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8303, allocations: 0 / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8303, allocations: 0 / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8303, allocations: 1.375 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.8306, allocations: 86.08 kB / 0.9566 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.831, allocations: 266.5 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.8312, allocations: 70.19 kB / 0.9569 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.8314, allocations: 49.98 kB / 0.957 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.8314, allocations: 0 / 0.957 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.8315, allocations: 39.61 kB / 0.957 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.8315, allocations: 0 / 0.957 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000546/0.832, allocations: 162.9 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.8321, allocations: 56.41 kB / 0.9572 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.8322, allocations: 107.7 kB / 0.9573 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.8322, allocations: 25.7 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.8322, allocations: 90.34 kB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.8323, allocations: 12.72 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8323, allocations: 1.125 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.8323, allocations: 316 kB / 0.9577 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.8325, allocations: 50.98 kB / 0.9578 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.8326, allocations: 47.45 kB / 0.9578 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.8327, allocations: 42.64 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8327, allocations: 0 / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002906/0.833, allocations: 116.7 kB / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8331, allocations: 5.406 kB / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8331, allocations: 0 / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8331, allocations: 12.98 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.8332, allocations: 19.7 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8332, allocations: 0 / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.8333, allocations: 16.08 kB / 0.958 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8333, allocations: 5.266 kB / 0.958 GB, free: 4.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.8334, allocations: 119.2 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.8334, allocations: 6.5 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.8335, allocations: 5.156 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8335, allocations: 0 / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8335, allocations: 5.391 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8335, allocations: 0 / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8336, allocations: 169 kB / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8336, allocations: 0 / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.8337, allocations: 24.05 kB / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.8338, allocations: 0 / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.8338, allocations: 1.094 kB / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8338, allocations: 0 / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8338, allocations: 320 / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.8341, allocations: 224 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.8341, allocations: 82.92 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.8342, allocations: 0 / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.8343, allocations: 19.58 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.8343, allocations: 11.64 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.8343, allocations: 4 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.8344, allocations: 89.28 kB / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8344, allocations: 0 / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002231/0.8346, allocations: 7.469 kB / 0.9588 GB, free: 3.941 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.8347, allocations: 112.7 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.8351, allocations: 90.58 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8351, allocations: 3.938 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.8352, allocations: 46.53 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.8355, allocations: 3.75 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.8358, allocations: 134.4 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.836, allocations: 0.6803 MB / 0.9598 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.836, allocations: 1.781 kB / 0.9598 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.836, allocations: 9.219 kB / 0.9598 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.836, allocations: 4 kB / 0.9598 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.002846/0.8389, allocations: 0.5682 MB / 0.9604 GB, free: 2.648 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