Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001243/0.001243, allocations: 199.6 kB / 16.26 MB, free: 6.621 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 73.59 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.42, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002154/0.4223, allocations: 0.7562 MB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.4232, allocations: 0.8741 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.4233, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.4233, allocations: 7.875 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.4234, allocations: 3.938 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.4236, allocations: 19.98 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.4237, allocations: 39.86 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4238, allocations: 15.98 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.4239, allocations: 15.92 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.4239, allocations: 23.91 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.424, allocations: 8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.424, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.424, allocations: 8 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.4241, allocations: 15.86 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.4242, allocations: 39.81 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4242, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4242, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.4242, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 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.0006031/0.4248, allocations: 365.4 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4249, allocations: 12.03 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.4249, allocations: 4.844 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.425, allocations: 172.3 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4251, allocations: 384 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.4251, allocations: 4.375 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.4254, allocations: 66.22 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4254, allocations: 4.172 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4254, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4254, allocations: 4 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.4257, allocations: 63.88 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.4261, allocations: 272.9 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4263, allocations: 58.47 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.4265, allocations: 40.92 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.4265, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.4265, allocations: 34.55 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4265, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.427, allocations: 133.5 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4271, allocations: 51.41 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.4272, allocations: 105.8 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4272, allocations: 25.7 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.4273, allocations: 100 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.4273, allocations: 3.906 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.4273, allocations: 17.72 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4274, allocations: 310.8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4276, allocations: 35.89 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4277, allocations: 31.97 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.428, allocations: 80.94 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.428, allocations: 3.938 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002965/0.4283, allocations: 97.61 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4283, allocations: 8 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4283, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4283, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.4285, allocations: 23.97 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4285, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4286, allocations: 11.98 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4286, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 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 7.731e-05/0.4287, allocations: 111.5 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.4287, allocations: 11.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4287, allocations: 11.89 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4287, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4287, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4288, allocations: 7.938 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.4289, allocations: 165.6 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4289, allocations: 4 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.429, allocations: 15.98 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.429, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4291, allocations: 3.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4291, allocations: 8 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4291, allocations: 0 / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.4294, allocations: 191.4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.4295, allocations: 84.95 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.4295, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4296, allocations: 19.97 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4297, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4297, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.4297, allocations: 87.27 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.773e-06/0.4297, allocations: 4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002094/0.4299, allocations: 7.938 kB / 1.072 GB, free: 5.707 MB / 0.8262 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.0001584/0.4301, allocations: 103.2 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.4305, allocations: 71.92 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4305, allocations: 3.938 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.4306, allocations: 39.95 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4309, allocations: 7.938 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.4313, allocations: 137.4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.4315, allocations: 0.6884 MB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.4316, allocations: 4 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4316, allocations: 7.438 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4316, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of Templates: time 0.002708/0.4343, allocations: 0.617 MB / 1.074 GB, free: 3.977 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches