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.01068/0.01068, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.00185/0.00185, allocations: 192.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.917/1.917, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 3.394/3.394, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.00127, allocations: 65.38 kB / 0.9504 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 1.088 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001858/0.2896, allocations: 0.6669 MB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.2906, allocations: 0.8082 MB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.2906, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2907, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.2908, allocations: 7.922 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.2909, allocations: 11.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.291, allocations: 27.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.2911, allocations: 4 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.2912, allocations: 15.92 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.2912, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2912, allocations: 4 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.2912, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.2913, allocations: 15.92 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.2913, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.839e-05/0.2914, allocations: 23.89 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2914, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2914, allocations: 7.938 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2914, allocations: 0 / 1.089 GB, free: 300 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.0004695/0.2919, allocations: 338.4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2919, allocations: 8.031 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.292, allocations: 30.75 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.292, allocations: 8.844 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2921, allocations: 164.4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2921, allocations: 4.375 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.2922, allocations: 4.375 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2924, allocations: 50.23 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2924, allocations: 7.875 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2924, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2924, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2926, allocations: 35.89 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.293, allocations: 253 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2932, allocations: 34.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.2933, allocations: 24.91 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2933, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2933, allocations: 38.48 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2933, allocations: 4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000361/0.2937, allocations: 81.59 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2937, allocations: 51.41 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.2938, allocations: 101.8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2938, allocations: 25.7 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.2939, allocations: 88.05 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2939, allocations: 0.6875 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2939, allocations: 25.7 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.294, allocations: 310.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.2941, allocations: 11.98 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.2942, allocations: 15.98 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.2944, allocations: 48.81 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2944, allocations: 3.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.2946, allocations: 65.58 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2947, allocations: 5.719 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2947, allocations: 3.984 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2947, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.2948, allocations: 8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2948, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.2949, allocations: 12.02 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2949, allocations: 0 / 1.091 GB, free: 14.23 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 8.404e-05/0.295, allocations: 118.1 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.295, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.2952, allocations: 72.72 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2952, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2953, allocations: 8.016 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2953, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2954, allocations: 165.5 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2954, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.2955, allocations: 7.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2955, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2955, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2955, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2955, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2958, allocations: 167.4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2958, allocations: 81.02 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2959, allocations: 8 kB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.2959, allocations: 7.984 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.296, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.296, allocations: 4 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.296, allocations: 83.31 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2961, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002445/0.2963, allocations: 0 / 1.092 GB, free: 13.41 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.0005542/0.2969, allocations: 0.7007 MB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.2971, allocations: 39.91 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2971, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.2972, allocations: 15.97 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.2975, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.298, allocations: 139.4 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2982, allocations: 0.6768 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.2983, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2983, allocations: 7.438 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2983, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/0.7513, allocations: 1.273 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.06, allocations: 0.9375 kB / 1.094 GB, free: 10.54 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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