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.001245/0.001244, 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.00121/0.00121, allocations: 193.7 kB / 16.14 MB, free: 6.648 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.7 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.58 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.405, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002324/0.4073, allocations: 0.7672 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4085, allocations: 0.8663 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.4086, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.4086, allocations: 3.984 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.4087, allocations: 3.938 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.4089, allocations: 23.97 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.409, allocations: 47.8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4091, allocations: 8 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.4092, allocations: 15.92 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.4092, allocations: 23.91 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.4093, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.4093, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.4093, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.4094, allocations: 19.86 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.4095, allocations: 39.86 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4095, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4095, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.4095, allocations: 0 / 1.069 GB, free: 9.039 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.0005887/0.4101, allocations: 363.7 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4102, allocations: 8.031 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.4102, allocations: 8.844 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4103, allocations: 168.3 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4103, allocations: 4.375 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4104, allocations: 384 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4106, allocations: 78.16 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4106, allocations: 4.188 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4107, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4107, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.411, allocations: 63.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.4114, allocations: 268.9 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4116, allocations: 62.41 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4117, allocations: 36.92 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4118, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4118, allocations: 34.56 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4118, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005461/0.4123, allocations: 125.6 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4124, allocations: 51.41 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.4125, allocations: 117.8 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4125, allocations: 25.7 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.4126, allocations: 91.98 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4126, allocations: 11.89 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.4126, allocations: 21.64 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4128, allocations: 314.8 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4129, allocations: 27.97 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4131, allocations: 35.95 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.4133, allocations: 73.05 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4134, allocations: 3.938 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000335/0.4137, allocations: 97.62 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4137, allocations: 4 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4137, allocations: 3.938 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4137, allocations: 4 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4139, allocations: 11.98 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4139, allocations: 0 / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/0.414, allocations: 19.97 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.414, allocations: 4 kB / 1.071 GB, free: 6.703 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 0.0001085/0.4141, allocations: 115.3 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.4141, allocations: 3.906 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.4142, allocations: 11.91 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.4144, allocations: 173.6 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4144, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.4145, allocations: 19.98 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4145, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4145, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4145, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4145, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.4149, allocations: 203.3 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.415, allocations: 92.95 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.415, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4151, allocations: 11.98 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.4151, allocations: 3.984 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.4152, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.4152, allocations: 87.28 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002137/0.4154, allocations: 8 kB / 1.072 GB, free: 5.887 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.0001527/0.4156, allocations: 107.2 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.4159, allocations: 67.92 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4159, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.4161, allocations: 43.91 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4164, allocations: 19.42 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.4167, allocations: 127.3 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.417, allocations: 0.6809 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.4171, allocations: 4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.4171, allocations: 7.438 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4171, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.00286/0.42, allocations: 0.5965 MB / 1.074 GB, free: 4.188 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