Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_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.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 77.09 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2817, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001884/0.2836, allocations: 0.7016 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.2846, allocations: 0.8663 MB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.2846, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2847, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.2847, allocations: 15.88 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2849, allocations: 15.97 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.7e-05/0.285, allocations: 47.84 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.2851, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.2852, allocations: 27.86 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2852, allocations: 19.91 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2852, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2853, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.2853, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2853, allocations: 23.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.415e-05/0.2854, allocations: 43.86 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2854, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2854, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2854, allocations: 0 / 1.066 GB, free: 12.38 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.0005238/0.286, allocations: 355.7 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.286, allocations: 12.03 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.286, allocations: 42.75 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2861, allocations: 8.828 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2862, allocations: 172.3 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.2862, allocations: 384 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2862, allocations: 4.375 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2865, allocations: 70.16 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2865, allocations: 3.938 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2865, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2865, allocations: 4 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.2868, allocations: 63.92 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.2872, allocations: 272.8 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2874, allocations: 54.53 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2875, allocations: 46.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2876, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2876, allocations: 34.55 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2876, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000526/0.2881, allocations: 133.6 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2882, allocations: 51.41 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.2883, allocations: 105.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2883, allocations: 25.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.2884, allocations: 88.14 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2884, allocations: 15.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2884, allocations: 17.72 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2886, allocations: 310.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2887, allocations: 39.83 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2889, allocations: 35.91 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2891, allocations: 76.72 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2891, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000306/0.2895, allocations: 93.62 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2895, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2895, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2895, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2896, allocations: 23.97 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2896, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.2897, allocations: 11.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2897, allocations: 0 / 1.068 GB, free: 10.01 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.934e-05/0.2898, allocations: 109.8 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2898, allocations: 7.906 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2899, allocations: 11.91 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2899, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2899, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2899, allocations: 7.984 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2901, allocations: 169.6 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2901, allocations: 4 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.2902, allocations: 15.98 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2902, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2902, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2902, allocations: 4 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2902, allocations: 4 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2906, allocations: 199.3 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.2906, allocations: 84.95 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2906, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2908, allocations: 15.98 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.2908, allocations: 7.984 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2908, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2909, allocations: 87.27 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2909, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000201/0.2911, allocations: 4 kB / 1.069 GB, free: 9.188 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.0006888/0.2918, allocations: 0.7245 MB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.2921, allocations: 83.88 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2921, allocations: 7.938 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.2923, allocations: 31.97 kB / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2926, allocations: 9.656 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.293, allocations: 163.2 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2933, allocations: 0.6807 MB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.2933, allocations: 4 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.2934, allocations: 15.42 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2934, allocations: 0 / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7884/1.082, allocations: 1.638 MB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.97, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches