Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.007678/0.007679, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.00155/0.00155, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.428/2.428, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.47 kB / 0.9505 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2865, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002163/0.2887, allocations: 0.6622 MB / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.29, allocations: 0.816 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2901, allocations: 0 / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.2902, allocations: 0 / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.2903, allocations: 7.938 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.2905, allocations: 7.984 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2906, allocations: 23.92 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2907, allocations: 11.98 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.2908, allocations: 7.938 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.2909, allocations: 11.98 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2909, allocations: 0 / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.2909, allocations: 4 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2909, allocations: 7.938 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.291, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2911, allocations: 27.89 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.2911, allocations: 8 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2911, allocations: 0 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2911, allocations: 0 / 1.089 GB, free: 388 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005879/0.2917, allocations: 334.3 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.193e-05/0.2918, allocations: 12.02 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.2918, allocations: 38.75 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2919, allocations: 4.844 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.292, allocations: 160.4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2921, allocations: 4.375 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.2921, allocations: 4.375 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.2923, allocations: 50.23 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2923, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2924, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.2924, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.2926, allocations: 43.83 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.293, allocations: 245 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2931, allocations: 38.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.2932, allocations: 24.89 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2932, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2933, allocations: 34.56 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2933, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003778/0.2937, allocations: 81.58 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.2937, allocations: 51.41 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.2938, allocations: 97.86 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2938, allocations: 25.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.2939, allocations: 88.17 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2939, allocations: 8.547 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.294, allocations: 13.72 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2941, allocations: 314.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.2942, allocations: 11.98 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.2943, allocations: 23.97 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2945, allocations: 40.89 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2945, allocations: 7.875 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001984/0.2947, allocations: 65.56 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2947, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2947, allocations: 3.984 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2947, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.2948, allocations: 8.172 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2948, allocations: 4.031 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.2949, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2949, allocations: 4 kB / 1.091 GB, free: 14.31 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 (2): * Single equations (assignments): 2 * 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.36e-05/0.295, allocations: 114.1 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.295, allocations: 3.984 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.2953, allocations: 76.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2953, allocations: 4.031 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2953, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2953, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2955, allocations: 161.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2955, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.2956, allocations: 11.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2956, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2956, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2956, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2956, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.2958, allocations: 171.4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.2959, allocations: 81.02 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2959, allocations: 7.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.296, allocations: 3.984 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.2961, allocations: 8 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2961, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.2961, allocations: 91.3 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2961, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002192/0.2964, allocations: 4 kB / 1.092 GB, free: 13.48 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 (2): * Single equations (assignments): 2 * 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.0006214/0.297, allocations: 0.6929 MB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2972, allocations: 43.89 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2972, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.2973, allocations: 19.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2976, allocations: 1.406 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.2981, allocations: 139.4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2983, allocations: 0.6768 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2984, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.2984, allocations: 11.44 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of SimCode: time 6.32e-07/0.2984, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.3141, allocations: 1.265 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.826, allocations: 12.41 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches