Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008706/0.0008706, 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.0009225/0.0009225, 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.901/0.901, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 3.938 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.655e-05, allocations: 6.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001494/0.001521, allocations: 0.6983 MB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.002371, allocations: 0.8276 MB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002408, allocations: 0 / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.002442, allocations: 11.92 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.002508, allocations: 3.938 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.705e-05/0.002575, allocations: 11.98 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.002655, allocations: 43.86 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00276, allocations: 7.984 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.00284, allocations: 27.97 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.002879, allocations: 15.92 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.002901, allocations: 4 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-06/0.002907, allocations: 7.938 kB / 0.9827 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.00293, allocations: 7.984 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.002953, allocations: 15.94 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.003041, allocations: 43.86 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003044, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003045, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003049, allocations: 0 / 0.9827 GB, free: 0.7891 MB / 0.9323 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.0003663/0.003415, allocations: 282.2 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.003458, allocations: 12.03 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.003488, allocations: 38.73 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.003508, allocations: 4.891 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.003597, allocations: 113.8 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003609, allocations: 4.375 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.003618, allocations: 384 / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.00379, allocations: 66.22 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003798, allocations: 192 / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003806, allocations: 8.25 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003813, allocations: 8.125 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.00396, allocations: 71.91 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.004269, allocations: 228 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.004394, allocations: 58.53 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.004477, allocations: 40.91 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.004489, allocations: 7.875 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.004509, allocations: 38.56 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.004511, allocations: 3.938 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003137/0.004824, allocations: 125.6 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.004863, allocations: 55.39 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.00493, allocations: 105.9 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.004941, allocations: 25.7 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.004978, allocations: 96.12 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.004996, allocations: 7.906 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.005022, allocations: 13.72 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.005099, allocations: 318.8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.005179, allocations: 27.97 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.005244, allocations: 35.91 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.005378, allocations: 68.78 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005379, allocations: 4 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001614/0.005541, allocations: 93.56 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.005555, allocations: 8 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.005561, allocations: 3.984 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.005575, allocations: 4 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.005654, allocations: 15.98 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005659, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.005694, allocations: 11.94 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.0057, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 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 5.451e-05/0.005755, allocations: 113.8 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.005774, allocations: 7.938 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.005794, allocations: 11.98 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005796, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.0058, allocations: 4 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005803, allocations: 0 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005913, allocations: 128.8 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005914, allocations: 7.938 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.005954, allocations: 15.92 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005956, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.005963, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.005966, allocations: 4 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.005967, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.006176, allocations: 199.8 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.006183, allocations: 7.969 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.006194, allocations: 7.938 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.006242, allocations: 7.984 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.006281, allocations: 7.984 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.006283, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.006319, allocations: 95.56 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006319, allocations: 4 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001408/0.00646, allocations: 11.88 kB / 0.9853 GB, free: 13.93 MB / 0.948 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.0003999/0.00686, allocations: 0.7241 MB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.007044, allocations: 75.86 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007045, allocations: 0 / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.007116, allocations: 35.95 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.007359, allocations: 12 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.007721, allocations: 150.4 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.007768, allocations: 67.28 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.007792, allocations: 4 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.007834, allocations: 20.48 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.007834, allocations: 0 / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.02655, allocations: 2.311 MB / 0.9886 GB, free: 10.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.832, allocations: 1.969 kB / 0.9886 GB, free: 10.59 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.067088634707034]