Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0008708/0.0008708, 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.0008954/0.0008954, allocations: 170.3 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.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.705/1.705, 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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.601e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00147/0.001496, allocations: 0.7019 MB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.002279, allocations: 0.8237 MB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002313, allocations: 4 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.002341, allocations: 3.938 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.002408, allocations: 11.94 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.073e-05/0.002469, allocations: 7.984 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.002539, allocations: 43.91 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.002637, allocations: 7.984 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.002711, allocations: 23.92 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.002748, allocations: 19.97 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.002769, allocations: 4 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.002775, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.00279, allocations: 15.94 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.002813, allocations: 11.98 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.002895, allocations: 51.73 kB / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002896, allocations: 0 / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.41e-07/0.002897, allocations: 0 / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002901, allocations: 0 / 0.9523 GB, free: 1.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005167/0.003418, allocations: 290.2 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.003465, allocations: 8.031 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.003497, allocations: 34.75 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.003522, allocations: 12.89 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.003606, allocations: 105.8 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.003617, allocations: 8.312 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.003628, allocations: 4.375 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.003801, allocations: 70.2 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003808, allocations: 192 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.003818, allocations: 384 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.003825, allocations: 4.125 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.003968, allocations: 71.86 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.004295, allocations: 232 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.004426, allocations: 50.53 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.004506, allocations: 40.92 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.004519, allocations: 7.938 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.004539, allocations: 38.5 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.00454, allocations: 0 / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003158/0.004856, allocations: 129.6 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.004888, allocations: 51.41 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.004955, allocations: 109.8 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.004967, allocations: 33.7 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.005002, allocations: 80.14 kB / 0.9536 GB, free: 168 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.005023, allocations: 15.91 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.005052, allocations: 13.7 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.005146, allocations: 322.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.005227, allocations: 27.97 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.005294, allocations: 31.95 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.005427, allocations: 76.72 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005429, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001692/0.005598, allocations: 97.56 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005611, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.005618, allocations: 8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.005631, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.005714, allocations: 11.98 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005719, allocations: 0 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.005756, allocations: 11.98 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.005763, allocations: 3.984 kB / 0.9542 GB, free: 15.53 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 (3): * Single equations (assignments): 3 * 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.291e-05/0.005826, allocations: 117.8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.005841, allocations: 7.891 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.005864, allocations: 12 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.005866, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.00587, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005873, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.005985, allocations: 132.8 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.005987, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.006038, allocations: 23.91 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00604, allocations: 3.938 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006048, allocations: 4 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00605, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006051, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.006253, allocations: 195.4 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.006261, allocations: 3.938 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.006274, allocations: 7.984 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.006323, allocations: 11.98 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.006361, allocations: 3.938 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.006364, allocations: 4 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.006397, allocations: 91.58 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006397, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001533/0.00655, allocations: 11.94 kB / 0.9548 GB, free: 14.83 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 (3): * Single equations (assignments): 3 * 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.0004191/0.006969, allocations: 0.728 MB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.007181, allocations: 80.22 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007183, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.007255, allocations: 31.97 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.007527, allocations: 8.172 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.007911, allocations: 146.5 kB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.007968, allocations: 79.25 kB / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.007996, allocations: 0 / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.008043, allocations: 16.5 kB / 0.9558 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.008044, allocations: 0 / 0.9558 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02312, allocations: 2.319 MB / 0.9581 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/6.601, allocations: 8.172 kB / 0.9581 GB, free: 11.48 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.642150453291833]