Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.001895/0.001895, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5752, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002024/0.5773, allocations: 0.7059 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.5781, allocations: 0.7962 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.5782, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.5782, allocations: 3.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.5783, allocations: 7.922 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.324e-05/0.5784, allocations: 15.98 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.5784, allocations: 47.78 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.5785, allocations: 12 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.5786, allocations: 19.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.5787, allocations: 23.91 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.5787, allocations: 7.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.5787, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.5787, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.5788, allocations: 15.92 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.962e-05/0.5788, allocations: 47.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5789, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5789, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5789, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 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.000475/0.5793, allocations: 365.5 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5794, allocations: 12.03 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.5794, allocations: 30.75 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.5795, allocations: 4.922 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5796, allocations: 168.3 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5796, allocations: 384 / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.5797, allocations: 8.312 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.5799, allocations: 70.22 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5799, allocations: 3.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5799, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5799, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.5803, allocations: 67.92 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.5806, allocations: 272.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.5808, allocations: 58.47 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.581, allocations: 40.92 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.581, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.581, allocations: 34.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.581, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005351/0.5816, allocations: 129.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5816, allocations: 59.34 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5818, allocations: 113.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.5818, allocations: 25.7 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.5818, allocations: 84.14 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.5818, allocations: 15.83 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.5819, allocations: 13.72 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.582, allocations: 314.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.5822, allocations: 31.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5823, allocations: 31.95 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.5826, allocations: 72.72 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5826, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/0.5829, allocations: 105.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5829, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.583, allocations: 7.875 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.583, allocations: 48 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.5831, allocations: 19.97 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5831, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.5832, allocations: 19.97 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.5832, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 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.985e-05/0.5833, allocations: 117.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.5833, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.5834, allocations: 7.906 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5834, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5834, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.5834, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.5835, allocations: 177.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5835, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5837, allocations: 15.98 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5837, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.5837, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5837, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5837, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.584, allocations: 199.3 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.5841, allocations: 77.11 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.5841, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5842, allocations: 11.98 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.5843, allocations: 11.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5843, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.5843, allocations: 83.28 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5843, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002154/0.5846, allocations: 8 kB / 1.022 GB, free: 13.59 MB / 0.7794 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.0006396/0.5852, allocations: 0.7357 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.5855, allocations: 67.92 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5855, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5857, allocations: 35.95 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.586, allocations: 14.11 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.5864, allocations: 160.3 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.5867, allocations: 0.6807 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.5867, allocations: 3.938 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.5868, allocations: 23.38 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5868, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.6041, allocations: 1.568 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.778, allocations: 14.45 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches