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.007476/0.007476, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001836/0.001836, allocations: 196 kB / 16.67 MB, free: 6.355 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 2.572/2.572, allocations: 437.1 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2856, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002273/0.2879, allocations: 0.7022 MB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2891, allocations: 0.8783 MB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.2892, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.2893, allocations: 3.938 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.2894, allocations: 7.922 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2896, allocations: 23.98 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.2897, allocations: 39.86 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.2898, allocations: 19.97 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.2899, allocations: 15.92 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2899, allocations: 19.92 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.29, allocations: 4 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.29, allocations: 4 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.29, allocations: 11.98 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.29, allocations: 11.88 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/0.2901, allocations: 43.86 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2901, allocations: 4 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2902, allocations: 0 / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2902, allocations: 0 / 1.168 GB, free: 5.43 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.0005196/0.2907, allocations: 362.2 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2907, allocations: 8.031 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.2908, allocations: 34.75 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2908, allocations: 12.78 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.291, allocations: 177.1 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.291, allocations: 4.375 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.291, allocations: 8.359 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2913, allocations: 66.16 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2913, allocations: 3.938 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2913, allocations: 8 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2914, allocations: 0 / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2916, allocations: 67.92 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.2921, allocations: 264.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.2923, allocations: 54.55 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.2924, allocations: 40.91 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2925, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2925, allocations: 34.56 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2925, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005171/0.293, allocations: 133.5 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2931, allocations: 59.34 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.2932, allocations: 109.8 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2932, allocations: 25.7 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.2932, allocations: 88.05 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2933, allocations: 3.906 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2933, allocations: 13.72 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2935, allocations: 322.8 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2936, allocations: 31.97 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2938, allocations: 31.95 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.294, allocations: 72.73 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.294, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003008/0.2943, allocations: 101.5 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2944, allocations: 6.031 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2944, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2944, allocations: 336 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2945, allocations: 19.98 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2945, allocations: 0 / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.2946, allocations: 11.98 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.2946, allocations: 0 / 1.17 GB, free: 3.066 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 8.666e-05/0.2947, allocations: 125.7 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2947, allocations: 3.906 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.2948, allocations: 11.89 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2948, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2948, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2948, allocations: 3.938 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.295, allocations: 169.6 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.295, allocations: 3.984 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.2951, allocations: 23.92 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2951, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.2951, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2951, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2951, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.2955, allocations: 199.4 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.2955, allocations: 85.02 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2955, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.2956, allocations: 7.984 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2957, allocations: 11.98 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2957, allocations: 4 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.2957, allocations: 87.28 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2957, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002173/0.296, allocations: 4 kB / 1.171 GB, free: 2.234 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.0006635/0.2966, allocations: 0.7396 MB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.297, allocations: 63.92 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.297, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.2971, allocations: 47.89 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2975, allocations: 8 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.298, allocations: 159 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2983, allocations: 0.6807 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.2984, allocations: 0 / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.2984, allocations: 23.44 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.2984, allocations: 0 / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3209, allocations: 1.669 MB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.941, allocations: 13.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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