Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001835/0.001835, allocations: 102.2 kB / 16.45 MB, free: 6.445 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.002073/0.002073, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.89 kB / 1.056 GB, free: 2.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3475, allocations: 160.7 MB / 1.213 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01903/0.3665, allocations: 14.24 MB / 1.227 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.3832, allocations: 9.505 MB / 1.236 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.3849, allocations: 59.62 kB / 1.236 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0048/0.3897, allocations: 1.696 MB / 1.238 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.3947, allocations: 1.576 MB / 1.239 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.3971, allocations: 0.7561 MB / 1.24 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004347/0.4015, allocations: 2.516 MB / 1.243 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.4039, allocations: 1.122 MB / 1.244 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.4061, allocations: 1.074 MB / 1.245 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.4085, allocations: 1.21 MB / 1.246 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004484/0.409, allocations: 164 kB / 1.246 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4109, allocations: 0.8111 MB / 1.247 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008364/0.4118, allocations: 0.627 MB / 1.247 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.4133, allocations: 0.9406 MB / 1.248 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004483/0.4178, allocations: 2.767 MB / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4178, allocations: 0 / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4178, allocations: 0 / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.114e-05/0.4179, allocations: 0 / 1.251 GB, free: 10.21 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005598/0.4235, allocations: 2.199 MB / 1.253 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4235, allocations: 8.031 kB / 1.253 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.4238, allocations: 194.4 kB / 1.253 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.4354, allocations: 2.09 MB / 1.255 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/0.4389, allocations: 1.303 MB / 1.257 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.4389, allocations: 86.73 kB / 1.257 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/0.4394, allocations: 119.9 kB / 1.257 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/0.4459, allocations: 2.689 MB / 1.26 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.446, allocations: 7.938 kB / 1.26 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.4462, allocations: 55.92 kB / 1.26 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/0.4468, allocations: 178.1 kB / 1.26 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6998/1.147, allocations: 2.801 MB / 1.263 GB, free: 47.39 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/1.162, allocations: 10.47 MB / 1.273 GB, free: 42.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007019/1.169, allocations: 2.455 MB / 1.275 GB, free: 41.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/1.173, allocations: 1.21 MB / 1.276 GB, free: 41.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/1.173, allocations: 12.33 kB / 1.276 GB, free: 41.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/1.173, allocations: 48.31 kB / 1.276 GB, free: 41.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.776e-06/1.173, allocations: 0 / 1.276 GB, free: 41.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04794/1.221, allocations: 13.33 MB / 1.289 GB, free: 37.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.221, allocations: 64.59 kB / 1.289 GB, free: 37.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.223, allocations: 1.12 MB / 1.291 GB, free: 37.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/1.223, allocations: 46.05 kB / 1.291 GB, free: 37.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005249/1.223, allocations: 0.7334 MB / 1.291 GB, free: 36.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/1.224, allocations: 473.5 kB / 1.292 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/1.224, allocations: 261.3 kB / 1.292 GB, free: 36.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/1.224, allocations: 361.1 kB / 1.292 GB, free: 36.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.228, allocations: 1.341 MB / 1.294 GB, free: 35.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004084/1.232, allocations: 1.602 MB / 1.295 GB, free: 35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007479/1.239, allocations: 2.99 MB / 1.298 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.239, allocations: 2.75 kB / 1.298 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01184/1.251, allocations: 4.407 MB / 1.302 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.251, allocations: 7.906 kB / 1.302 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.251, allocations: 7.328 kB / 1.302 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/1.257, allocations: 1.432 MB / 1.304 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.259, allocations: 442.5 kB / 1.304 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/1.282, allocations: 26.71 MB / 1.33 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/1.285, allocations: 299.2 kB / 1.331 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/1.285, allocations: 66.19 kB / 1.331 GB, free: 8.426 MB / 0.9981 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008883/1.286, allocations: 445 kB / 1.331 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.286, allocations: 168 kB / 1.331 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.297, allocations: 4.405 MB / 1.336 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/1.297, allocations: 13.53 kB / 1.336 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.46e-05/1.297, allocations: 13 kB / 1.336 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.297, allocations: 7.969 kB / 1.336 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.312, allocations: 6.719 MB / 1.342 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.312, allocations: 8 kB / 1.342 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.314, allocations: 380.8 kB / 1.343 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004497/1.319, allocations: 1.307 MB / 1.344 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/1.319, allocations: 41.72 kB / 1.344 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/1.347, allocations: 25.5 MB / 1.369 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.347, allocations: 7.562 kB / 1.369 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.358, allocations: 4.169 MB / 1.373 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.36, allocations: 455.8 kB / 1.373 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/1.36, allocations: 31.98 kB / 1.373 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.362, allocations: 307.5 kB / 1.374 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/1.362, allocations: 128.6 kB / 1.374 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.363, allocations: 51.97 kB / 1.374 GB, free: 5.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001163/1.364, allocations: 0.752 MB / 1.375 GB, free: 4.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.364, allocations: 0 / 1.375 GB, free: 4.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00235/1.366, allocations: 0.5742 MB / 1.375 GB, free: 4.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/1.378, allocations: 4.749 MB / 1.38 GB, free: 15.17 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.39, allocations: 4.971 MB / 1.385 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.39, allocations: 4 kB / 1.385 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.007377/1.397, allocations: 3.413 MB / 1.388 GB, free: 6.453 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.4, allocations: 0.553 MB / 1.388 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0456/1.446, allocations: 19.33 MB / 1.407 GB, free: 2.168 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/1.447, allocations: 1.473 MB / 1.409 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001824/1.449, allocations: 428 kB / 1.409 GB, free: 248 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.45, allocations: 0.6342 MB / 1.41 GB, free: 15.64 MB / 1.076 GB Notification: Performance of SimCode: time 2.054e-06/1.45, allocations: 0 / 1.41 GB, free: 15.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/1.601, allocations: 51.99 MB / 1.461 GB, free: 12.32 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/21.09, allocations: 3.375 kB / 1.461 GB, free: 12.32 MB / 1.123 GB " [Timeout remaining time 279] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 27.346665328834206]