Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0007757/0.0007757, 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.0007993/0.0007993, 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.8201/0.8201, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.666/1.666, allocations: 389 MB / 0.633 GB, free: 12.68 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.678e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004677/0.004693, allocations: 5.901 MB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.007415, allocations: 3.11 MB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.007617, allocations: 43.56 kB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.008661, allocations: 0.9322 MB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.009171, allocations: 0.5048 MB / 1.01 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.009662, allocations: 0.4979 MB / 1.01 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006243/0.01029, allocations: 1.135 MB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005235/0.01081, allocations: 0.5139 MB / 1.012 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.01125, allocations: 0.6117 MB / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.01159, allocations: 422.8 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.01164, allocations: 56 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.01199, allocations: 454.6 kB / 1.013 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.01217, allocations: 319.1 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01232, allocations: 267.3 kB / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.01305, allocations: 1.207 MB / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01305, allocations: 4 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01305, allocations: 0 / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.01306, allocations: 0 / 1.015 GB, free: 13.5 MB / 0.9792 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.0009222/0.01398, allocations: 1.002 MB / 1.016 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.01402, allocations: 8.75 kB / 1.016 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.691e-05/0.01411, allocations: 122.7 kB / 1.016 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007286/0.01484, allocations: 224.1 kB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.01538, allocations: 0.5197 MB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.0154, allocations: 49.67 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.01547, allocations: 60.36 kB / 1.017 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.01634, allocations: 1.134 MB / 1.018 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.01636, allocations: 12.08 kB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.0164, allocations: 36.11 kB / 1.018 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.01645, allocations: 69.27 kB / 1.018 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.01714, allocations: 0.6879 MB / 1.019 GB, free: 9.387 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.01961, allocations: 4.498 MB / 1.023 GB, free: 4.723 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.02007, allocations: 414 kB / 1.024 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.02051, allocations: 388.6 kB / 1.024 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.02053, allocations: 7.984 kB / 1.024 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.02055, allocations: 34.56 kB / 1.024 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=41): time 1.453e-06/0.02055, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.002222/0.02277, allocations: 1.726 MB / 1.026 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.0228, allocations: 59.34 kB / 1.026 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.02309, allocations: 482.6 kB / 1.026 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.02311, allocations: 33.7 kB / 1.026 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.02326, allocations: 396.1 kB / 1.027 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.02333, allocations: 154.7 kB / 1.027 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.02343, allocations: 110.3 kB / 1.027 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.02351, allocations: 366.8 kB / 1.027 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.02373, allocations: 245.2 kB / 1.028 GB, free: 276 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.02403, allocations: 457 kB / 1.028 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.02459, allocations: 0.7518 MB / 1.029 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.0246, allocations: 8 kB / 1.029 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001009/0.0256, allocations: 1.047 MB / 1.03 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02562, allocations: 8 kB / 1.03 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02563, allocations: 15.88 kB / 1.03 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.02615, allocations: 315.4 kB / 1.03 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.02631, allocations: 103.8 kB / 1.03 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.03023, allocations: 7.07 MB / 1.037 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.0304, allocations: 28.03 kB / 1.037 GB, free: 5.801 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.03042, allocations: 27.98 kB / 1.037 GB, free: 5.773 MB / 0.9948 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.0001781/0.0306, allocations: 241.6 kB / 1.038 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.03065, allocations: 67.56 kB / 1.038 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.03157, allocations: 0.8926 MB / 1.038 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.03157, allocations: 4 kB / 1.038 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.03158, allocations: 8 kB / 1.038 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03158, allocations: 3.984 kB / 1.038 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.0331, allocations: 1.59 MB / 1.04 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.0331, allocations: 7.984 kB / 1.04 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.03318, allocations: 39.91 kB / 1.04 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.03364, allocations: 315.3 kB / 1.04 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.03365, allocations: 12 kB / 1.04 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.03749, allocations: 7.05 MB / 1.047 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03749, allocations: 3.938 kB / 1.047 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.03839, allocations: 0.9917 MB / 1.048 GB, free: 9.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.03851, allocations: 111.5 kB / 1.048 GB, free: 9.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.03854, allocations: 8 kB / 1.048 GB, free: 9.812 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.03867, allocations: 23.97 kB / 1.048 GB, free: 9.789 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.03873, allocations: 43.86 kB / 1.048 GB, free: 9.746 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.03875, allocations: 12 kB / 1.048 GB, free: 9.734 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001946/0.03894, allocations: 306.9 kB / 1.049 GB, free: 9.438 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.03894, allocations: 0 / 1.049 GB, free: 9.438 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004172/0.03936, allocations: 200 kB / 1.049 GB, free: 9.242 MB / 1.01 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.001056/0.04042, allocations: 1.545 MB / 1.05 GB, free: 7.641 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009678/0.04138, allocations: 1.159 MB / 1.052 GB, free: 6.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.04139, allocations: 4.125 kB / 1.052 GB, free: 6.426 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.04195, allocations: 0.8283 MB / 1.052 GB, free: 5.547 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.04248, allocations: 202.9 kB / 1.053 GB, free: 5.359 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3416/0.3841, allocations: 5.895 MB / 1.058 GB, free: 94.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3843, allocations: 397.6 kB / 1.059 GB, free: 94.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.3846, allocations: 98.95 kB / 1.059 GB, free: 94.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3847, allocations: 229.3 kB / 1.059 GB, free: 94.07 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.3847, allocations: 0.6562 kB / 1.059 GB, free: 94.07 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4113, allocations: 17.19 MB / 1.076 GB, free: 92.11 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/7.162, allocations: 11.53 kB / 1.076 GB, free: 92.1 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 10.96256749983877]