Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001752/0.001752, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002654/0.002654, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.965 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.802/2.802, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] 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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002064/0.002064, allocations: 63.81 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002318/0.3292, allocations: 0.8967 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3305, allocations: 0.9252 MB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.3306, allocations: 3.938 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.3307, allocations: 11.81 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.3308, allocations: 7.875 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.331, allocations: 71.89 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3312, allocations: 135.7 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.3315, allocations: 49.64 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3316, allocations: 51.78 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3317, allocations: 63.69 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.3317, allocations: 12 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.453e-05/0.3317, allocations: 20 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.3318, allocations: 27.92 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.3318, allocations: 63.64 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3321, allocations: 143.6 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3321, allocations: 3.984 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3321, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.3321, allocations: 0 / 1.286 GB, free: 9.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007999/0.3329, allocations: 367.7 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.333, allocations: 12.03 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.333, allocations: 46.73 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.3331, allocations: 16.84 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3334, allocations: 154.3 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3334, allocations: 8.375 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3335, allocations: 16.31 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.3338, allocations: 154.7 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3338, allocations: 3.938 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3339, allocations: 4 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3339, allocations: 4 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.3342, allocations: 127.9 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.3351, allocations: 467.2 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3353, allocations: 78.47 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3354, allocations: 44.83 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3354, allocations: 4 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.3355, allocations: 30.56 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.3355, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004961/0.336, allocations: 161.7 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.336, allocations: 55.41 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3362, allocations: 187.6 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3362, allocations: 29.64 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.3363, allocations: 123.9 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3364, allocations: 35.69 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.3364, allocations: 29.72 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3366, allocations: 326.8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3367, allocations: 35.97 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3368, allocations: 45.34 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3371, allocations: 93.56 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3371, allocations: 11.94 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003095/0.3374, allocations: 142.8 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3374, allocations: 7.984 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3374, allocations: 3.938 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3374, allocations: 3.984 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3376, allocations: 27.98 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3376, allocations: 0 / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3377, allocations: 16.27 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3377, allocations: 11.98 kB / 1.289 GB, free: 6.129 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 (13): * Single equations (assignments): 13 * 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 0.0001008/0.3378, allocations: 121.8 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.3378, allocations: 15.91 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.3382, allocations: 138.9 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3382, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3382, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3382, allocations: 4 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3389, allocations: 431.9 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3389, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.339, allocations: 19.98 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.339, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.339, allocations: 0 / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.339, allocations: 8.094 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.339, allocations: 3.938 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.3394, allocations: 247.6 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3394, allocations: 23.83 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3395, allocations: 4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3396, allocations: 15.98 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3397, allocations: 11.92 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3397, allocations: 4 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3398, allocations: 153.7 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 0 / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002545/0.3401, allocations: 16 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006964/0.3408, allocations: 0.7812 MB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.3411, allocations: 92.16 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3411, allocations: 0 / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3412, allocations: 59.91 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3415, allocations: 13.97 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.344, allocations: 1.894 MB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3443, allocations: 0.7084 MB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.97e-05/0.3444, allocations: 13.08 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.3445, allocations: 39.42 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3445, allocations: 0 / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.3767, allocations: 2.975 MB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 6.375 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable line1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.06650368800001]