Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 211.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476 MB / 0.7699 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 64.41 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3211, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002195/0.3233, allocations: 0.6643 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3245, allocations: 0.8472 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.3246, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.3246, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.3247, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3249, allocations: 11.98 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.325, allocations: 23.92 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3251, allocations: 4 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.3251, allocations: 11.98 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.3252, allocations: 15.88 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3252, allocations: 4 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.3252, allocations: 11.98 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.3253, allocations: 3.984 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.3253, allocations: 11.94 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3254, allocations: 23.42 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3254, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3254, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3254, allocations: 7.938 kB / 1.284 GB, free: 10.72 MB / 0.9825 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.0004968/0.3259, allocations: 260 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.326, allocations: 12.03 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.326, allocations: 38.75 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.3261, allocations: 4.922 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3262, allocations: 106.5 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3262, allocations: 384 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3262, allocations: 384 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3264, allocations: 54.22 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3265, allocations: 3.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3265, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3265, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3266, allocations: 35.91 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.327, allocations: 216 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3272, allocations: 38.5 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.3273, allocations: 24.89 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3273, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3273, allocations: 34.56 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3273, allocations: 0 / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.3277, allocations: 85.58 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3277, allocations: 51.41 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3278, allocations: 101.9 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3279, allocations: 25.7 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3279, allocations: 80.14 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3279, allocations: 19.86 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.328, allocations: 13.72 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3281, allocations: 310.8 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.3282, allocations: 24.11 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.3283, allocations: 15.97 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3284, allocations: 40.77 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3284, allocations: 11.88 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.3286, allocations: 65.75 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3286, allocations: 12 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3287, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3287, allocations: 3.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.3288, allocations: 7.984 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3288, allocations: 4 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.3288, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3288, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 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.622e-05/0.3289, allocations: 109.8 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3289, allocations: 7.953 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3292, allocations: 80.89 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3292, allocations: 0 / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3292, allocations: 0 / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3292, allocations: 0 / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3294, allocations: 132.7 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3294, allocations: 0 / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.3294, allocations: 4 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3294, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3294, allocations: 8.016 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3294, allocations: 4 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3294, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3297, allocations: 167.4 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.3297, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.3297, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3298, allocations: 4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3298, allocations: 7.984 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3298, allocations: 32 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.3299, allocations: 87.47 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002183/0.3301, allocations: 4 kB / 1.286 GB, free: 8.172 MB / 0.9825 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.0005756/0.3307, allocations: 0.6852 MB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.3309, allocations: 47.92 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3309, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.331, allocations: 15.98 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3313, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.3318, allocations: 135.2 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.3319, allocations: 59.36 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.3319, allocations: 3.984 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.3319, allocations: 15.55 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3319, allocations: 0 / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3618, allocations: 1.813 MB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.57, allocations: 14.98 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.395205691922456]