Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001441/0.001441, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001609/0.001609, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.756/2.756, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 177] 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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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.001976/0.001976, allocations: 61.27 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008925/0.3039, allocations: 6.472 MB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005139/0.309, allocations: 3.025 MB / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.3095, allocations: 35.69 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.312, allocations: 0.9536 MB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3133, allocations: 0.5246 MB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3143, allocations: 427 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.3157, allocations: 1.225 MB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008156/0.3165, allocations: 0.5295 MB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.3172, allocations: 0.4904 MB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000751/0.318, allocations: 0.541 MB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3181, allocations: 68 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.3187, allocations: 347.2 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.319, allocations: 319.1 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.3194, allocations: 370.3 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3208, allocations: 1.237 MB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3208, allocations: 3.938 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3208, allocations: 0 / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.3208, allocations: 0 / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00194/0.3227, allocations: 1.108 MB / 1.301 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3228, allocations: 16.02 kB / 1.301 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.529e-05/0.3228, allocations: 21.48 kB / 1.301 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.323, allocations: 126.7 kB / 1.301 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.3245, allocations: 240.1 kB / 1.302 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.3254, allocations: 0.5191 MB / 1.302 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3255, allocations: 49.67 kB / 1.302 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3256, allocations: 64.38 kB / 1.302 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3273, allocations: 1.344 MB / 1.304 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3273, allocations: 11.92 kB / 1.304 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.3274, allocations: 24 kB / 1.304 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3275, allocations: 85.25 kB / 1.304 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3287, allocations: 0.7504 MB / 1.304 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005148/0.3338, allocations: 4.628 MB / 1.309 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.3348, allocations: 0.5186 MB / 1.31 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.3352, allocations: 282.1 kB / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3353, allocations: 4.438 kB / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3353, allocations: 39 kB / 1.31 GB, free: 15.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.384e-06/0.3353, allocations: 0 / 1.31 GB, free: 15.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.00374/0.3391, allocations: 1.694 MB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3391, allocations: 59.78 kB / 1.312 GB, free: 14.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.3397, allocations: 0.5509 MB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.3398, allocations: 33.7 kB / 1.312 GB, free: 13.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.3401, allocations: 424 kB / 1.313 GB, free: 12.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3402, allocations: 182.5 kB / 1.313 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.3404, allocations: 122.6 kB / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3406, allocations: 382.7 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.3411, allocations: 277.8 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.3416, allocations: 496.9 kB / 1.314 GB, free: 11.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3427, allocations: 0.8006 MB / 1.315 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3427, allocations: 0 / 1.315 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001852/0.3445, allocations: 1.078 MB / 1.316 GB, free: 9.457 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3446, allocations: 11.94 kB / 1.316 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3446, allocations: 8 kB / 1.316 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/0.3454, allocations: 287.6 kB / 1.316 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3459, allocations: 127.8 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.3527, allocations: 6.685 MB / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.3533, allocations: 39.97 kB / 1.323 GB, free: 1.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.3533, allocations: 28.12 kB / 1.323 GB, free: 1.809 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003898/0.3537, allocations: 260.3 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3538, allocations: 71.58 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3554, allocations: 0.8806 MB / 1.324 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3554, allocations: 8 kB / 1.324 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3554, allocations: 4 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3554, allocations: 3.984 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.3581, allocations: 1.606 MB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3581, allocations: 4 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.3584, allocations: 68.08 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007764/0.3591, allocations: 263.2 kB / 1.326 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.3592, allocations: 8 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006571/0.3657, allocations: 6.67 MB / 1.332 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3657, allocations: 4.031 kB / 1.332 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3673, allocations: 0.9683 MB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3676, allocations: 123.5 kB / 1.333 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.3677, allocations: 27.92 kB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.3681, allocations: 27.97 kB / 1.333 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3682, allocations: 43.86 kB / 1.334 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3682, allocations: 16 kB / 1.334 GB, free: 6.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000448/0.3686, allocations: 383.1 kB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3686, allocations: 0 / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000787/0.3694, allocations: 220 kB / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/0.3713, allocations: 1.54 MB / 1.336 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.3733, allocations: 1.24 MB / 1.337 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3733, allocations: 4 kB / 1.337 GB, free: 2.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3745, allocations: 0.8661 MB / 1.338 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.3755, allocations: 221.5 kB / 1.338 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00877/0.3843, allocations: 6.367 MB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3847, allocations: 419.3 kB / 1.344 GB, free: 10.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.3851, allocations: 122 kB / 1.345 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.3855, allocations: 259.3 kB / 1.345 GB, free: 10.02 MB / 1.045 GB Notification: Performance of SimCode: time 1.092e-06/0.3855, allocations: 0 / 1.345 GB, free: 10.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05709/0.4426, allocations: 19.07 MB / 1.363 GB, free: 7.414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.37, allocations: 3.078 kB / 1.363 GB, free: 7.414 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 20.099971421062946]