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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001088/0.001088, allocations: 112.2 kB / 16.37 MB, free: 6.469 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.001055/0.001055, allocations: 190 kB / 17.31 MB, free: 5.828 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 71.73 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3163, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001891/0.3183, allocations: 0.7069 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.3192, allocations: 0.8802 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.3193, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3193, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.3194, allocations: 11.88 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3196, allocations: 19.97 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.3197, allocations: 39.91 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3198, allocations: 11.98 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.3199, allocations: 27.86 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.3199, allocations: 19.92 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.32, allocations: 7.938 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.32, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.32, allocations: 7.984 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.32, allocations: 15.88 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.3201, allocations: 47.86 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3202, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3202, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3202, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 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.0005272/0.3207, allocations: 363.4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3207, allocations: 8.031 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.3208, allocations: 8.844 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3209, allocations: 172.3 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3209, allocations: 384 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3209, allocations: 4.375 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3212, allocations: 74.14 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3212, allocations: 8.125 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3212, allocations: 7.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3212, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.3215, allocations: 59.94 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.3218, allocations: 260.9 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.322, allocations: 70.41 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3222, allocations: 32.92 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3222, allocations: 4 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3222, allocations: 34.55 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3222, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005004/0.3228, allocations: 125.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3228, allocations: 51.41 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.3229, allocations: 117.8 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3229, allocations: 29.64 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.323, allocations: 92.12 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.323, allocations: 11.81 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.323, allocations: 9.719 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3232, allocations: 318.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3233, allocations: 31.95 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3234, allocations: 27.97 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3237, allocations: 72.78 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3237, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.324, allocations: 93.62 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.324, allocations: 8 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.324, allocations: 4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3241, allocations: 3.984 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3242, allocations: 15.92 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3242, allocations: 3.938 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.3243, allocations: 11.98 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3243, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 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.069e-05/0.3244, allocations: 125.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3244, allocations: 3.906 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.3244, allocations: 11.89 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3244, allocations: 336 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3245, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3245, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3246, allocations: 177.5 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3246, allocations: 3.984 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.3247, allocations: 15.98 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3247, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3248, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3248, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3248, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3251, allocations: 195.4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.3251, allocations: 88.95 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3252, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3253, allocations: 15.97 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.3253, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3253, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.3254, allocations: 87.27 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3254, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002187/0.3256, allocations: 8 kB / 1.031 GB, free: 13.11 MB / 0.8106 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.0001396/0.3258, allocations: 99.25 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.3261, allocations: 67.92 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3261, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3263, allocations: 39.89 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3266, allocations: 15.94 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3269, allocations: 121.5 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3271, allocations: 0.6846 MB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.3272, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.3272, allocations: 15.44 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3272, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of Templates: time 0.002689/0.3299, allocations: 0.7161 MB / 1.033 GB, free: 11.29 MB / 0.8106 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 -s gbode -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/jenkins1/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