Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 75.88 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.9116, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05102/0.9626, allocations: 38.58 MB / 1.251 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.986, allocations: 11.13 MB / 1.261 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004731/0.9908, allocations: 159.2 kB / 1.262 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/1.003, allocations: 4.425 MB / 1.266 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007231/1.01, allocations: 2.336 MB / 1.268 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006852/1.017, allocations: 2.174 MB / 1.27 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01316/1.03, allocations: 9.291 MB / 1.279 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01539/1.046, allocations: 8.525 MB / 1.288 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007283/1.053, allocations: 4.047 MB / 1.292 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00833/1.061, allocations: 4.763 MB / 1.296 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002616/1.064, allocations: 0.8203 MB / 1.297 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006442/1.07, allocations: 1.6 MB / 1.299 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007292/1.078, allocations: 3.239 MB / 1.302 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009566/1.087, allocations: 3.661 MB / 1.305 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02193/1.109, allocations: 12.35 MB / 1.318 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.109, allocations: 0 / 1.318 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/1.109, allocations: 0 / 1.318 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004971/1.11, allocations: 4 kB / 1.318 GB, free: 12.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02241/1.132, allocations: 6.463 MB / 1.324 GB, free: 6.191 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/1.132, allocations: 8.625 kB / 1.324 GB, free: 6.184 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003661/1.136, allocations: 0.8255 MB / 1.325 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007307/1.143, allocations: 1.106 MB / 1.326 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/1.154, allocations: 3.624 MB / 1.329 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/1.155, allocations: 419.8 kB / 1.33 GB, free: 156 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/1.157, allocations: 0.5472 MB / 1.33 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/1.181, allocations: 9.373 MB / 1.339 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/1.181, allocations: 23.83 kB / 1.339 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008926/1.182, allocations: 248 kB / 1.34 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006203/1.182, allocations: 418.9 kB / 1.34 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/1.197, allocations: 7.131 MB / 1.347 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05799/1.255, allocations: 41.07 MB / 1.387 GB, free: 1.273 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005529/1.261, allocations: 2.897 MB / 1.39 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/1.264, allocations: 1.953 MB / 1.392 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/1.264, allocations: 22 kB / 1.392 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.659e-05/1.264, allocations: 68.5 kB / 1.392 GB, free: 12.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 6.152e-06/1.264, allocations: 7.984 kB / 1.392 GB, free: 12.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.028/1.292, allocations: 10.58 MB / 1.402 GB, free: 1.645 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/1.292, allocations: 73.41 kB / 1.402 GB, free: 1.559 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/1.296, allocations: 2.006 MB / 1.404 GB, free: 15.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/1.297, allocations: 61.7 kB / 1.404 GB, free: 15.47 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.299, allocations: 2.482 MB / 1.407 GB, free: 12.96 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.3, allocations: 0.763 MB / 1.407 GB, free: 12.19 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.301, allocations: 485.5 kB / 1.408 GB, free: 11.71 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.302, allocations: 305.1 kB / 1.408 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/1.304, allocations: 1.372 MB / 1.41 GB, free: 10.04 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/1.307, allocations: 2.108 MB / 1.412 GB, free: 7.613 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/1.313, allocations: 3.766 MB / 1.415 GB, free: 3.535 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/1.313, allocations: 4 kB / 1.415 GB, free: 3.531 MB / 1.123 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01005/1.323, allocations: 5.027 MB / 1.42 GB, free: 14.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/1.323, allocations: 16 kB / 1.42 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/1.323, allocations: 24 kB / 1.42 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/1.327, allocations: 1.593 MB / 1.422 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.329, allocations: 447.3 kB / 1.422 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02619/1.355, allocations: 18.6 MB / 1.44 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.358, allocations: 147.9 kB / 1.441 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005054/1.358, allocations: 104 kB / 1.441 GB, free: 8.996 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004113/1.362, allocations: 1.945 MB / 1.443 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/1.363, allocations: 302.2 kB / 1.443 GB, free: 6.742 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008244/1.371, allocations: 4.392 MB / 1.447 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.371, allocations: 27.94 kB / 1.447 GB, free: 2.293 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/1.372, allocations: 16 kB / 1.447 GB, free: 2.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/1.372, allocations: 11.95 kB / 1.447 GB, free: 2.266 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.393, allocations: 9.617 MB / 1.457 GB, free: 8.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/1.393, allocations: 4 kB / 1.457 GB, free: 8.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.394, allocations: 235.6 kB / 1.457 GB, free: 8.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/1.398, allocations: 1.434 MB / 1.458 GB, free: 6.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/1.398, allocations: 36 kB / 1.458 GB, free: 6.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02619/1.425, allocations: 18.59 MB / 1.476 GB, free: 3.637 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.425, allocations: 4 kB / 1.476 GB, free: 3.633 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/1.433, allocations: 4.503 MB / 1.481 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.436, allocations: 0.6513 MB / 1.481 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007771/1.436, allocations: 40 kB / 1.481 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.438, allocations: 115.9 kB / 1.482 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005348/1.439, allocations: 181.6 kB / 1.482 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.439, allocations: 56 kB / 1.482 GB, free: 13.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002074/1.441, allocations: 1.319 MB / 1.483 GB, free: 12.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.441, allocations: 0 / 1.483 GB, free: 12.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003746/1.444, allocations: 1.145 MB / 1.484 GB, free: 11.51 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007963/1.452, allocations: 5.118 MB / 1.489 GB, free: 6.293 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008043/1.46, allocations: 4.539 MB / 1.494 GB, free: 1.715 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.46, allocations: 0 / 1.494 GB, free: 1.715 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.466, allocations: 2.801 MB / 1.496 GB, free: 14.86 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/1.47, allocations: 0.8954 MB / 1.497 GB, free: 13.98 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05798/1.528, allocations: 30.43 MB / 1.527 GB, free: 14.35 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007034/1.535, allocations: 3.694 MB / 1.531 GB, free: 10.62 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002581/1.538, allocations: 0.5556 MB / 1.531 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/1.541, allocations: 1.948 MB / 1.533 GB, free: 8.105 MB / 1.248 GB Notification: Performance of SimCode: time 1.533e-06/1.541, allocations: 0 / 1.533 GB, free: 8.105 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8565/2.397, allocations: 85.85 MB / 1.617 GB, free: 355.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17.89, allocations: 6.406 kB / 1.617 GB, free: 355.8 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 24.771365224849433]