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.00133/0.00133, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001526/0.001526, allocations: 210 kB / 22.24 MB, free: 5.258 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.805 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.187/3.187, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002586/0.002586, allocations: 67.06 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3671, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009964/0.3771, allocations: 6.489 MB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005778/0.3829, allocations: 3.036 MB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/0.3836, allocations: 35.69 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.3864, allocations: 0.9482 MB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3879, allocations: 0.5246 MB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3891, allocations: 425.3 kB / 1.375 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.3909, allocations: 1.221 MB / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.3919, allocations: 0.5334 MB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.3928, allocations: 498.3 kB / 1.377 GB, free: 380 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3938, allocations: 0.5175 MB / 1.377 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.394, allocations: 68 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.3948, allocations: 339.3 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.3952, allocations: 323 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.3958, allocations: 370.3 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3974, allocations: 1.233 MB / 1.38 GB, free: 13.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3974, allocations: 0 / 1.38 GB, free: 13.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3974, allocations: 0 / 1.38 GB, free: 13.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.413e-05/0.3974, allocations: 0 / 1.38 GB, free: 13.54 MB / 1.076 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.002383/0.3998, allocations: 1.108 MB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3999, allocations: 8.031 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.4, allocations: 122.7 kB / 1.381 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4017, allocations: 244.1 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4028, allocations: 0.5152 MB / 1.381 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.4029, allocations: 49.69 kB / 1.382 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.403, allocations: 64.31 kB / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.4049, allocations: 1.344 MB / 1.383 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.405, allocations: 7.938 kB / 1.383 GB, free: 9.852 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.405, allocations: 24 kB / 1.383 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.4052, allocations: 85.25 kB / 1.383 GB, free: 9.742 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4065, allocations: 0.7504 MB / 1.384 GB, free: 8.988 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.4123, allocations: 4.643 MB / 1.388 GB, free: 4.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.4134, allocations: 0.5123 MB / 1.389 GB, free: 3.656 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.4138, allocations: 282 kB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.4139, allocations: 8.375 kB / 1.389 GB, free: 3.371 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4139, allocations: 43 kB / 1.389 GB, free: 3.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.975e-06/0.4139, allocations: 0 / 1.389 GB, free: 3.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003894/0.4178, allocations: 1.679 MB / 1.391 GB, free: 1.621 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.4178, allocations: 63.78 kB / 1.391 GB, free: 1.547 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.4186, allocations: 0.5702 MB / 1.391 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.4186, allocations: 29.7 kB / 1.391 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.4189, allocations: 428 kB / 1.392 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4191, allocations: 178.5 kB / 1.392 GB, free: 340 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.4193, allocations: 126.6 kB / 1.392 GB, free: 208 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.4195, allocations: 374.7 kB / 1.392 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.42, allocations: 277.8 kB / 1.393 GB, free: 15.56 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.4206, allocations: 496.9 kB / 1.393 GB, free: 14.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4217, allocations: 0.8084 MB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4217, allocations: 4 kB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001937/0.4237, allocations: 1.07 MB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4237, allocations: 12.12 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4237, allocations: 8 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.4246, allocations: 291.1 kB / 1.395 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.4251, allocations: 123.8 kB / 1.395 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.4323, allocations: 6.673 MB / 1.402 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.4329, allocations: 39.97 kB / 1.402 GB, free: 5.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.433, allocations: 31.94 kB / 1.402 GB, free: 5.328 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.0004368/0.4334, allocations: 249.6 kB / 1.402 GB, free: 5.074 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4336, allocations: 79.53 kB / 1.402 GB, free: 4.996 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.4353, allocations: 0.8806 MB / 1.403 GB, free: 4.098 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4353, allocations: 4 kB / 1.403 GB, free: 4.094 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4353, allocations: 4 kB / 1.403 GB, free: 4.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4353, allocations: 8.016 kB / 1.403 GB, free: 4.082 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.4382, allocations: 1.615 MB / 1.405 GB, free: 2.387 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4382, allocations: 3.938 kB / 1.405 GB, free: 2.383 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.4385, allocations: 59.95 kB / 1.405 GB, free: 2.324 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007762/0.4393, allocations: 267.6 kB / 1.405 GB, free: 2.051 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.4393, allocations: 8 kB / 1.405 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007005/0.4463, allocations: 6.682 MB / 1.412 GB, free: 10.9 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.4463, allocations: 4.031 kB / 1.412 GB, free: 10.9 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4479, allocations: 0.9724 MB / 1.413 GB, free: 9.879 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.4483, allocations: 119.5 kB / 1.413 GB, free: 9.762 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4484, allocations: 19.92 kB / 1.413 GB, free: 9.742 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.4488, allocations: 27.97 kB / 1.413 GB, free: 9.715 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4489, allocations: 47.8 kB / 1.413 GB, free: 9.668 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4489, allocations: 16 kB / 1.413 GB, free: 9.652 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0004704/0.4494, allocations: 383.1 kB / 1.413 GB, free: 9.281 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4494, allocations: 4 kB / 1.413 GB, free: 9.277 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0008165/0.4502, allocations: 220 kB / 1.413 GB, free: 9.062 MB / 1.108 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.001955/0.4522, allocations: 1.537 MB / 1.415 GB, free: 7.469 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.4543, allocations: 1.24 MB / 1.416 GB, free: 6.184 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4543, allocations: 0 / 1.416 GB, free: 6.184 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4556, allocations: 0.8659 MB / 1.417 GB, free: 5.266 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4566, allocations: 217.5 kB / 1.417 GB, free: 5.062 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/0.4659, allocations: 6.376 MB / 1.423 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.4664, allocations: 415.5 kB / 1.424 GB, free: 13.91 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00038/0.4668, allocations: 118 kB / 1.424 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.4671, allocations: 251.3 kB / 1.424 GB, free: 13.55 MB / 1.123 GB Notification: Performance of SimCode: time 8.02e-07/0.4671, allocations: 0 / 1.424 GB, free: 13.55 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06552/0.5327, allocations: 19.24 MB / 1.443 GB, free: 10.73 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.39, allocations: 7 kB / 1.443 GB, free: 10.73 MB / 1.139 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.119755101855844]