Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.008163/0.008163, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001853/0.001854, allocations: 189.9 kB / 16.67 MB, free: 5.949 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 64.75 kB / 0.9505 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2993, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001869/0.3012, allocations: 0.6736 MB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.3022, allocations: 0.8082 MB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.3023, allocations: 4 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.3023, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.3024, allocations: 3.938 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3025, allocations: 4 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.3026, allocations: 23.92 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.3027, allocations: 4 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.3028, allocations: 15.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.3028, allocations: 11.98 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3029, allocations: 4 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.3029, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.3029, allocations: 3.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.3029, allocations: 11.98 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.147e-05/0.303, allocations: 19.91 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.303, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.303, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.303, allocations: 0 / 1.089 GB, free: 380 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.0004426/0.3035, allocations: 334.4 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3035, allocations: 19.97 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.3036, allocations: 30.75 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3036, allocations: 8.828 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3037, allocations: 160.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3037, allocations: 4.375 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.3038, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3039, allocations: 50.23 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3039, allocations: 7.922 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.304, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.304, allocations: 7.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3042, allocations: 31.97 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.3045, allocations: 252.9 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3046, allocations: 34.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.3047, allocations: 24.91 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3047, allocations: 7.922 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3047, allocations: 34.56 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3048, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.3051, allocations: 81.58 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3051, allocations: 59.53 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.3052, allocations: 97.86 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3052, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.3053, allocations: 84.05 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3053, allocations: 0.5625 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.3053, allocations: 21.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3054, allocations: 310.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.3055, allocations: 23.98 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.3056, allocations: 11.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3058, allocations: 40.81 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3058, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.306, allocations: 65.61 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.306, allocations: 15.98 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.306, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.306, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.3061, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3061, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.3062, allocations: 3.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3062, allocations: 8 kB / 1.091 GB, free: 14.3 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 6.689e-05/0.3063, allocations: 110.1 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3063, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3065, allocations: 80.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3065, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3066, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3066, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3067, allocations: 161.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3067, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.3068, allocations: 19.92 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3068, allocations: 4.031 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3068, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3068, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3068, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.307, allocations: 159.5 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3071, allocations: 85.02 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3071, allocations: 11.97 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3072, allocations: 7.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3072, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3072, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.3073, allocations: 87.2 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3073, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002073/0.3075, 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.000516/0.308, allocations: 0.6971 MB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3082, allocations: 39.91 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3083, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.3083, allocations: 24.06 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.0002981/0.3086, allocations: 1.562 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.0004481/0.3091, allocations: 143.2 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3094, allocations: 0.6768 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.3094, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.3095, allocations: 7.438 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3095, allocations: 4.062 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/0.3633, allocations: 1.29 MB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.085, allocations: 5.031 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches