Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009086/0.009086, allocations: 99.42 kB / 15.73 MB, free: 6.445 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.002092/0.002092, allocations: 195 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.299/2.299, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.284/3.284, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002549/0.3349, allocations: 0.7127 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3366, allocations: 0.8705 MB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.3367, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.3368, allocations: 7.938 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.3369, allocations: 11.92 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3371, allocations: 15.97 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3372, allocations: 43.86 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3374, allocations: 11.98 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.3375, allocations: 19.92 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.3375, allocations: 15.92 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3376, allocations: 4 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.3376, allocations: 8 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.3376, allocations: 11.92 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3377, allocations: 19.92 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3378, allocations: 40.09 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3378, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3378, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3379, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 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.0007206/0.3386, allocations: 363.3 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.3386, allocations: 12.03 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.3387, allocations: 42.69 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3388, allocations: 4.891 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3389, allocations: 168.3 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3389, allocations: 384 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.339, allocations: 4.375 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.3393, allocations: 74.2 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3393, allocations: 3.938 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3393, allocations: 4 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3393, allocations: 0 / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.3398, allocations: 63.92 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.3403, allocations: 280.7 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.3406, allocations: 54.55 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3408, allocations: 44.89 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3409, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3409, allocations: 34.5 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3409, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0007862/0.3417, allocations: 133.5 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3418, allocations: 55.41 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3419, allocations: 109.8 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3419, allocations: 25.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.342, allocations: 88.14 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3421, allocations: 15.91 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3421, allocations: 13.72 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3423, allocations: 318.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3425, allocations: 23.97 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3428, allocations: 35.95 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.3432, allocations: 68.73 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3432, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005092/0.3437, allocations: 105.5 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3437, allocations: 8 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3438, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3438, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.344, allocations: 15.98 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.344, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3441, allocations: 7.984 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3441, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 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.000119/0.3443, allocations: 117.7 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.3443, allocations: 11.95 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.3444, allocations: 7.906 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3444, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3444, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3444, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3447, allocations: 169.6 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3447, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3448, allocations: 19.97 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3449, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3449, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3449, allocations: 3.938 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3449, allocations: 8 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.3455, allocations: 191.4 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.3455, allocations: 85.05 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3456, allocations: 4 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3457, allocations: 15.98 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3458, allocations: 4.375 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3458, allocations: 7.984 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.3459, allocations: 83.58 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3459, allocations: 3.938 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003667/0.3463, allocations: 11.94 kB / 1.171 GB, free: 2.215 MB / 0.92 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.001052/0.3473, allocations: 0.7396 MB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.3479, allocations: 75.92 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3479, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.3481, allocations: 39.89 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3485, allocations: 5.875 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.3489, allocations: 151.1 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3493, allocations: 0.6807 MB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.3493, allocations: 8 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3494, allocations: 11.44 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3494, allocations: 0 / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.371, allocations: 1.668 MB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.65, allocations: 7.172 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches