Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001394/0.001394, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001614/0.001614, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.374/3.374, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",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.002001/0.002001, allocations: 64 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00978/0.3679, allocations: 6.999 MB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.3737, allocations: 3.192 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.3744, allocations: 35.69 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3773, allocations: 0.9938 MB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.3788, allocations: 0.5285 MB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3802, allocations: 425.8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.382, allocations: 1.225 MB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.3831, allocations: 0.5412 MB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009715/0.3841, allocations: 490.3 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.3851, allocations: 0.5487 MB / 1.367 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.3853, allocations: 68 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.3862, allocations: 391.2 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.3866, allocations: 319 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.3874, allocations: 449.8 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.3891, allocations: 1.222 MB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3891, allocations: 0 / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3891, allocations: 0 / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.614e-05/0.3892, allocations: 0 / 1.37 GB, free: 6.996 MB / 1.061 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.00237/0.3915, allocations: 1.104 MB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3916, allocations: 12.03 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.3918, allocations: 126.6 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3934, allocations: 244.1 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.3947, allocations: 0.5114 MB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.3948, allocations: 53.67 kB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.3949, allocations: 60.36 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3969, allocations: 1.085 MB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.397, allocations: 12 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.397, allocations: 27.98 kB / 1.373 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.3972, allocations: 85.25 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3987, allocations: 0.7581 MB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006936/0.4056, allocations: 5.815 MB / 1.379 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.4066, allocations: 0.5051 MB / 1.38 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.4071, allocations: 286 kB / 1.38 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.4071, allocations: 8.438 kB / 1.38 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.4072, allocations: 39 kB / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.4072, allocations: 0 / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003938/0.4111, allocations: 1.682 MB / 1.382 GB, free: 9.973 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.4112, allocations: 59.84 kB / 1.382 GB, free: 9.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.4119, allocations: 0.5548 MB / 1.383 GB, free: 9.336 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.4119, allocations: 33.7 kB / 1.383 GB, free: 9.297 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.4123, allocations: 428 kB / 1.383 GB, free: 8.871 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.4124, allocations: 178.5 kB / 1.383 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.4126, allocations: 122.6 kB / 1.383 GB, free: 8.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4128, allocations: 378.7 kB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.4132, allocations: 281.8 kB / 1.384 GB, free: 7.914 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.4138, allocations: 496.9 kB / 1.384 GB, free: 7.328 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4149, allocations: 0.8083 MB / 1.385 GB, free: 6.422 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4149, allocations: 0 / 1.385 GB, free: 6.422 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001936/0.4169, allocations: 1.078 MB / 1.386 GB, free: 5.324 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.4169, allocations: 8 kB / 1.386 GB, free: 5.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.4169, allocations: 8 kB / 1.386 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.4178, allocations: 279.7 kB / 1.386 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.4183, allocations: 127.7 kB / 1.387 GB, free: 4.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00703/0.4253, allocations: 6.72 MB / 1.393 GB, free: 13.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.4259, allocations: 43.95 kB / 1.393 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.4259, allocations: 28 kB / 1.393 GB, free: 13.65 MB / 1.092 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.0003736/0.4263, allocations: 257.5 kB / 1.393 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.4265, allocations: 75.53 kB / 1.394 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4281, allocations: 0.8845 MB / 1.394 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4281, allocations: 8 kB / 1.394 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4281, allocations: 4 kB / 1.394 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4281, allocations: 3.984 kB / 1.394 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4309, allocations: 1.689 MB / 1.396 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4309, allocations: 3.938 kB / 1.396 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.4312, allocations: 59.89 kB / 1.396 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007706/0.432, allocations: 275.3 kB / 1.396 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.432, allocations: 12.06 kB / 1.396 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.4388, allocations: 6.712 MB / 1.403 GB, free: 3.098 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4388, allocations: 4.031 kB / 1.403 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4404, allocations: 0.9799 MB / 1.404 GB, free: 2.066 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.4407, allocations: 111.5 kB / 1.404 GB, free: 1.957 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4408, allocations: 15.94 kB / 1.404 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4412, allocations: 31.95 kB / 1.404 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4413, allocations: 39.92 kB / 1.404 GB, free: 1.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.4413, allocations: 19.94 kB / 1.404 GB, free: 1.852 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004841/0.4418, allocations: 387.1 kB / 1.405 GB, free: 1.477 MB / 1.092 GB Notification: Performance of sort global known variables: time 6e-08/0.4418, allocations: 0 / 1.405 GB, free: 1.477 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008238/0.4426, allocations: 224 kB / 1.405 GB, free: 1.258 MB / 1.092 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.001974/0.4446, allocations: 1.537 MB / 1.406 GB, free: 15.66 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.4468, allocations: 1.228 MB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4468, allocations: 4 kB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.4482, allocations: 0.8775 MB / 1.408 GB, free: 13.45 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4494, allocations: 230.7 kB / 1.409 GB, free: 13.23 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.4594, allocations: 6.359 MB / 1.415 GB, free: 6.535 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.4602, allocations: 1.009 MB / 1.416 GB, free: 5.5 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004521/0.4607, allocations: 122 kB / 1.416 GB, free: 5.379 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.461, allocations: 247.4 kB / 1.416 GB, free: 5.137 MB / 1.107 GB Notification: Performance of SimCode: time 9.72e-07/0.461, allocations: 4 kB / 1.416 GB, free: 5.133 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/0.5245, allocations: 18.05 MB / 1.434 GB, free: 3.371 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.75, allocations: 18.83 kB / 1.434 GB, free: 3.355 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.735580079024658]