Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0007842/0.0007842, 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.000751/0.000751, 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.8018/0.8018, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.633/1.633, allocations: 389.1 MB / 0.633 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.3e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004676/0.004689, allocations: 5.823 MB / 1.005 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.007457, allocations: 3.082 MB / 1.008 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.007674, allocations: 39.62 kB / 1.008 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.008775, allocations: 0.9296 MB / 1.009 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.009372, allocations: 0.497 MB / 1.01 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.009889, allocations: 493.4 kB / 1.01 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.01054, allocations: 1.119 MB / 1.011 GB, free: 356 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.01105, allocations: 0.5139 MB / 1.012 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.01151, allocations: 0.6 MB / 1.012 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.01187, allocations: 434.7 kB / 1.013 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.01192, allocations: 60 kB / 1.013 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.01228, allocations: 454.6 kB / 1.013 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.01246, allocations: 307.1 kB / 1.014 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.01263, allocations: 271.3 kB / 1.014 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.01336, allocations: 1.203 MB / 1.015 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01336, allocations: 0 / 1.015 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01336, allocations: 4 kB / 1.015 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.01337, allocations: 0 / 1.015 GB, free: 12.52 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009662/0.01434, allocations: 0.9908 MB / 1.016 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.01437, allocations: 12.75 kB / 1.016 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.461e-05/0.01446, allocations: 114.7 kB / 1.016 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.01518, allocations: 236.1 kB / 1.016 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.01578, allocations: 0.508 MB / 1.017 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.0158, allocations: 49.67 kB / 1.017 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.01587, allocations: 64.31 kB / 1.017 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.01673, allocations: 1.127 MB / 1.018 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.01675, allocations: 16.05 kB / 1.018 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.01678, allocations: 32.11 kB / 1.018 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.01684, allocations: 65.28 kB / 1.018 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.01747, allocations: 0.6918 MB / 1.019 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.01992, allocations: 4.491 MB / 1.023 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.02043, allocations: 414.9 kB / 1.024 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.02086, allocations: 388.6 kB / 1.024 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.02088, allocations: 4.688 kB / 1.024 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.0209, allocations: 38.56 kB / 1.024 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 1.382e-06/0.0209, allocations: 0 / 1.024 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42): time 0.002155/0.02305, allocations: 1.726 MB / 1.026 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.02309, allocations: 59.34 kB / 1.026 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.02337, allocations: 474.6 kB / 1.026 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.02339, allocations: 29.7 kB / 1.026 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.02354, allocations: 396.1 kB / 1.027 GB, free: 200 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.02361, allocations: 154.6 kB / 1.027 GB, free: 44 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3833/0.4069, allocations: 113.9 kB / 1.027 GB, free: 38.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.407, allocations: 364.9 kB / 1.027 GB, free: 38.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.4072, allocations: 244.6 kB / 1.028 GB, free: 38.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.4076, allocations: 454.7 kB / 1.028 GB, free: 38.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.4082, allocations: 0.7519 MB / 1.029 GB, free: 37.73 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.4082, allocations: 3.562 kB / 1.029 GB, free: 37.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001456/0.4096, allocations: 1.043 MB / 1.03 GB, free: 37.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4097, allocations: 13.55 kB / 1.03 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4097, allocations: 6.781 kB / 1.03 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.4103, allocations: 323.3 kB / 1.03 GB, free: 37.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.4106, allocations: 97.81 kB / 1.03 GB, free: 37.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.4147, allocations: 7.055 MB / 1.037 GB, free: 31.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.4151, allocations: 32.44 kB / 1.037 GB, free: 31.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.4151, allocations: 25.81 kB / 1.037 GB, free: 31.45 MB / 0.9323 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.4153, allocations: 244.5 kB / 1.037 GB, free: 31.28 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.4154, allocations: 64.59 kB / 1.037 GB, free: 31.28 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4165, allocations: 0.8965 MB / 1.038 GB, free: 30.89 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4165, allocations: 7.594 kB / 1.038 GB, free: 30.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4165, allocations: 7.594 kB / 1.038 GB, free: 30.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4165, allocations: 3.062 kB / 1.038 GB, free: 30.89 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.4183, allocations: 1.599 MB / 1.04 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4183, allocations: 2.125 kB / 1.04 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4184, allocations: 45.81 kB / 1.04 GB, free: 30.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.4189, allocations: 321.5 kB / 1.04 GB, free: 30 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4189, allocations: 8.453 kB / 1.04 GB, free: 30 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.4227, allocations: 7.053 MB / 1.047 GB, free: 24.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4227, allocations: 2.156 kB / 1.047 GB, free: 24.16 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4237, allocations: 0.9811 MB / 1.048 GB, free: 23.66 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4238, allocations: 100.7 kB / 1.048 GB, free: 23.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.4239, allocations: 12.45 kB / 1.048 GB, free: 23.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.424, allocations: 20.03 kB / 1.048 GB, free: 23.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4241, allocations: 47.33 kB / 1.048 GB, free: 23.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4242, allocations: 8.938 kB / 1.048 GB, free: 23.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002424/0.4244, allocations: 307.6 kB / 1.049 GB, free: 23.44 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.4244, allocations: 4 kB / 1.049 GB, free: 23.43 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005952/0.425, allocations: 195 kB / 1.049 GB, free: 23.41 MB / 0.9323 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.4261, allocations: 1.543 MB / 1.05 GB, free: 22.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.4272, allocations: 1.16 MB / 1.051 GB, free: 21.66 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4273, allocations: 0 / 1.051 GB, free: 21.66 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.4279, allocations: 0.8348 MB / 1.052 GB, free: 21.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.4285, allocations: 218 kB / 1.052 GB, free: 21.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.4341, allocations: 5.857 MB / 1.058 GB, free: 17.62 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4344, allocations: 393.8 kB / 1.058 GB, free: 17.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.4347, allocations: 95.2 kB / 1.059 GB, free: 17.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.4349, allocations: 236.9 kB / 1.059 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of SimCode: time 1.463e-06/0.4349, allocations: 0 / 1.059 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.4766, allocations: 17.07 MB / 1.075 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.571, allocations: 10.42 kB / 1.075 GB, free: 14.88 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: 11.245731675066054]