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.001433/0.001433, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001557/0.001557, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.422/2.422, allocations: 390.3 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 67.89 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.688, allocations: 140.4 MB / 0.9493 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001737/0.6898, allocations: 0.7275 MB / 0.95 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.6904, allocations: 0.8075 MB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.6905, allocations: 1.375 kB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.6905, allocations: 3.938 kB / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.6906, allocations: 0 / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.6907, allocations: 10.73 kB / 0.9508 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.6908, allocations: 25.56 kB / 0.9508 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.6909, allocations: 10.73 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.6909, allocations: 2.75 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.691, allocations: 18.66 kB / 0.9508 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.691, allocations: 6.688 kB / 0.9508 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.691, allocations: 1.375 kB / 0.9508 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.691, allocations: 5.375 kB / 0.9508 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.691, allocations: 5.312 kB / 0.9508 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.91e-05/0.6911, allocations: 20.03 kB / 0.9509 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6911, allocations: 1.375 kB / 0.9509 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6911, allocations: 4 kB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.6911, allocations: 3.984 kB / 0.9509 GB, free: 8.086 MB / 0.7169 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.0003234/0.6914, allocations: 335.6 kB / 0.9512 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6915, allocations: 12.64 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.6915, allocations: 39.78 kB / 0.9512 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.6915, allocations: 2.312 kB / 0.9512 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.6916, allocations: 165.8 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6916, allocations: 384 / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.6917, allocations: 6.062 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6918, allocations: 50.3 kB / 0.9515 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6918, allocations: 3.938 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.6918, allocations: 0 / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6919, allocations: 1.156 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.692, allocations: 34.45 kB / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.6923, allocations: 248.8 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.6924, allocations: 38.53 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.6925, allocations: 26.45 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.6925, allocations: 1.344 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.6925, allocations: 31.91 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6925, allocations: 4 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.6929, allocations: 79.52 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.6929, allocations: 52.5 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.693, allocations: 98.48 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.693, allocations: 27.17 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.693, allocations: 88.12 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.693, allocations: 17.02 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6931, allocations: 12.38 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.6931, allocations: 316.2 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.6932, allocations: 17.23 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.6933, allocations: 17.16 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.6934, allocations: 43.48 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6934, allocations: 3.938 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.6936, allocations: 69.47 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6936, allocations: 4.062 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6936, allocations: 1.469 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6937, allocations: 0 / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.6938, allocations: 13.42 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6938, allocations: 4.719 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.6938, allocations: 3.375 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.6938, allocations: 1.25 kB / 0.9527 GB, free: 6.227 MB / 0.7169 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 5.794e-05/0.6939, allocations: 111.1 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.6939, allocations: 9.109 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.6942, allocations: 74.88 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6942, allocations: 8.016 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6942, allocations: 1.188 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6942, allocations: 0 / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.6943, allocations: 162.8 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.6943, allocations: 0 / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.6944, allocations: 10.33 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6944, allocations: 0 / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6944, allocations: 0 / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6944, allocations: 1.156 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6944, allocations: 0 / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.6946, allocations: 167.8 kB / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.6946, allocations: 77.11 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.6946, allocations: 1.438 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.6947, allocations: 7.922 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.6948, allocations: 5.312 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.6948, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.6948, allocations: 91.3 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6948, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.695, allocations: 3.656 kB / 0.9534 GB, free: 5.484 MB / 0.7169 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.0003892/0.6954, allocations: 0.6954 MB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.6956, allocations: 44.95 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6956, allocations: 0 / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.6957, allocations: 20.33 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.696, allocations: 1.906 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.6964, allocations: 139.5 kB / 0.9542 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.284e-05/0.6965, allocations: 0.6811 MB / 0.9549 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.6965, allocations: 1.438 kB / 0.9549 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.6966, allocations: 12.69 kB / 0.9549 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.6966, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.7074, allocations: 1.106 MB / 0.956 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/0.7076, allocations: 206.2 kB / 0.9562 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.436, allocations: 4 kB / 0.9562 GB, free: 3.07 MB / 0.7169 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