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.0008468/0.0008468, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008971/0.0008971, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9423/0.9423, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.301e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00143/0.001453, allocations: 0.6639 MB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002265, allocations: 0.8354 MB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.002308, allocations: 0 / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.00234, allocations: 3.938 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.002404, allocations: 3.984 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.002603, allocations: 11.94 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.002673, allocations: 23.92 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.002767, allocations: 4 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.002837, allocations: 15.92 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.002872, allocations: 15.92 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.002888, allocations: 4 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.00293, allocations: 7.984 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.002945, allocations: 8 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.002961, allocations: 0 / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003065, allocations: 31.89 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003068, allocations: 0 / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003069, allocations: 0 / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003073, allocations: 0 / 0.9522 GB, free: 1.789 MB / 0.9011 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.0003458/0.003419, allocations: 262.3 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.003461, allocations: 12.03 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.00349, allocations: 34.75 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.00356, allocations: 8.891 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.003637, allocations: 101.8 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003648, allocations: 384 / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.003657, allocations: 12.3 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.003789, allocations: 50.23 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.003796, allocations: 192 / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.003804, allocations: 384 / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.00381, allocations: 4.125 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.003896, allocations: 39.89 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.004178, allocations: 220 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.004261, allocations: 34.56 kB / 0.9529 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.004309, allocations: 20.91 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.004326, allocations: 0 / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.004354, allocations: 42.44 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004355, allocations: 0 / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.004578, allocations: 81.64 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.004606, allocations: 55.41 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.004666, allocations: 97.84 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.004675, allocations: 29.64 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.004709, allocations: 84.14 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.004725, allocations: 7.953 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.004748, allocations: 9.719 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.004827, allocations: 322.8 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.004871, allocations: 16.11 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.004904, allocations: 15.98 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.00498, allocations: 44.75 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.004983, allocations: 4 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.0051, allocations: 73.7 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.005115, allocations: 6.344 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005119, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005131, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.005199, allocations: 11.98 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005203, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.005224, allocations: 7.984 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.005229, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 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.911e-05/0.005289, allocations: 113.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.005303, allocations: 3.969 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.005435, allocations: 72.91 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005437, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.005441, allocations: 4 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005444, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.979e-05/0.005544, allocations: 124.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005545, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.005574, allocations: 7.984 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.005576, allocations: 7.938 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.005583, allocations: 7.969 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.005584, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.005586, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.005712, allocations: 163.5 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.005719, allocations: 7.891 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.00573, allocations: 4 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.005766, allocations: 7.984 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.005797, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.0058, allocations: 4.031 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.005826, allocations: 91.39 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005827, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001383/0.005965, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 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.0003179/0.006283, allocations: 0.6967 MB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.006408, allocations: 43.92 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.00641, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.006447, allocations: 15.98 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.006671, allocations: 4.141 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.006998, allocations: 122.5 kB / 0.9552 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.007041, allocations: 63.34 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.00706, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.007095, allocations: 16.61 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.007095, allocations: 0 / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02235, allocations: 1.957 MB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.637, allocations: 1.875 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.588436947204173]