Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005125/0.005125, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001159/0.001159, allocations: 196.7 kB / 16.68 MB, free: 5.918 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 70.19 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001841/0.2918, allocations: 0.7019 MB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.2928, allocations: 0.8705 MB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.2928, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.2929, allocations: 7.875 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.293, allocations: 7.938 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.2932, allocations: 15.98 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2933, allocations: 55.77 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2934, allocations: 8 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.2935, allocations: 19.92 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.2935, allocations: 19.91 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2935, allocations: 4 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.2935, allocations: 4 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2936, allocations: 4 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.2936, allocations: 27.86 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.446e-05/0.2937, allocations: 39.86 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2937, allocations: 0 / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2937, allocations: 0 / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2937, allocations: 0 / 1.089 GB, free: 144 kB / 0.8419 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.0004886/0.2942, allocations: 358.3 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2943, allocations: 8.031 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.2943, allocations: 42.73 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2943, allocations: 8.844 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2945, allocations: 173.1 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2945, allocations: 384 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2945, allocations: 4.375 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2948, allocations: 70.22 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2948, allocations: 3.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2948, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2948, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.2951, allocations: 67.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.2955, allocations: 276.8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2957, allocations: 54.53 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2958, allocations: 44.91 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2959, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2959, allocations: 34.55 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2959, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/0.2965, allocations: 129.5 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.2965, allocations: 55.41 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.2966, allocations: 105.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2966, allocations: 29.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2967, allocations: 92.06 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.2967, allocations: 11.81 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2967, allocations: 13.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2968, allocations: 318.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.297, allocations: 31.95 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2971, allocations: 31.91 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2974, allocations: 72.72 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2974, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/0.2978, allocations: 101.6 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2978, allocations: 8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2978, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2978, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.298, allocations: 23.97 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.298, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.2981, allocations: 7.984 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2981, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 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.63e-05/0.2982, allocations: 117.7 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2982, allocations: 7.906 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.2983, allocations: 3.906 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2983, allocations: 3.984 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2983, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2983, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2985, allocations: 173.6 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2985, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.2986, allocations: 15.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2986, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2986, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2986, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2986, allocations: 12.25 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.299, allocations: 195.4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.299, allocations: 81.02 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2991, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2992, allocations: 15.97 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.2992, allocations: 12.38 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2992, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.2993, allocations: 87.25 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2993, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002231/0.2995, allocations: 12 kB / 1.092 GB, free: 12.94 MB / 0.8575 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.0006976/0.3002, allocations: 0.7357 MB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3006, allocations: 67.92 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3006, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3008, allocations: 35.97 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3011, allocations: 9.5 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.3016, allocations: 167.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3019, allocations: 0.6768 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.3019, allocations: 7.984 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.302, allocations: 15.44 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.302, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.3194, allocations: 1.697 MB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.292, allocations: 4 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches