Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001832/0.001832, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001558/0.001558, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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.001975/0.001975, allocations: 69.89 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00957/0.318, allocations: 6.479 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005635/0.3236, allocations: 3.044 MB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.3243, allocations: 39.62 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.327, allocations: 0.9488 MB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3285, allocations: 0.5168 MB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3296, allocations: 440.4 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.3313, allocations: 1.221 MB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.3322, allocations: 0.5334 MB / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008618/0.3331, allocations: 494.3 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.334, allocations: 0.5526 MB / 1.341 GB, free: 3.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.3342, allocations: 64 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008809/0.3351, allocations: 347.2 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.3356, allocations: 319.1 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.3363, allocations: 374.2 kB / 1.342 GB, free: 2.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.3381, allocations: 1.23 MB / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3381, allocations: 0 / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3381, allocations: 0 / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.3382, allocations: 4 kB / 1.343 GB, free: 0.8672 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002415/0.3406, allocations: 1.112 MB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3406, allocations: 8.031 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.481e-05/0.3407, allocations: 17.5 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.3408, allocations: 118.7 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3424, allocations: 240.1 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3434, allocations: 0.5231 MB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.3435, allocations: 49.67 kB / 1.345 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3436, allocations: 72.3 kB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.3455, allocations: 1.332 MB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.3455, allocations: 7.938 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.3456, allocations: 31.98 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.3458, allocations: 85.25 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.347, allocations: 0.7504 MB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.3522, allocations: 4.635 MB / 1.352 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.3532, allocations: 0.5053 MB / 1.352 GB, free: 6.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.3536, allocations: 286 kB / 1.352 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3537, allocations: 8.438 kB / 1.352 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3537, allocations: 42.92 kB / 1.352 GB, free: 6.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.3537, allocations: 4 kB / 1.352 GB, free: 6.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003757/0.3575, allocations: 1.686 MB / 1.354 GB, free: 4.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3575, allocations: 59.84 kB / 1.354 GB, free: 4.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.3581, allocations: 0.5509 MB / 1.355 GB, free: 4.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.3582, allocations: 33.7 kB / 1.355 GB, free: 4.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.3585, allocations: 436 kB / 1.355 GB, free: 3.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3586, allocations: 174.5 kB / 1.355 GB, free: 3.656 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.3588, allocations: 130.6 kB / 1.355 GB, free: 3.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.359, allocations: 378.7 kB / 1.356 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.3594, allocations: 281.8 kB / 1.356 GB, free: 2.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.36, allocations: 489.5 kB / 1.356 GB, free: 2.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3611, allocations: 0.8083 MB / 1.357 GB, free: 1.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3611, allocations: 4 kB / 1.357 GB, free: 1.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001822/0.3629, allocations: 1.074 MB / 1.358 GB, free: 296 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3629, allocations: 8 kB / 1.358 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3629, allocations: 8 kB / 1.358 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/0.3638, allocations: 279.7 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3643, allocations: 127.8 kB / 1.359 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.371, allocations: 6.682 MB / 1.365 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.3716, allocations: 35.97 kB / 1.365 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.3716, allocations: 32.12 kB / 1.365 GB, free: 8.648 MB / 1.061 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.0003858/0.372, allocations: 261.5 kB / 1.366 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3722, allocations: 75.53 kB / 1.366 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.3737, allocations: 0.8768 MB / 1.366 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3737, allocations: 8 kB / 1.366 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3737, allocations: 4 kB / 1.366 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3737, allocations: 0 / 1.366 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.3763, allocations: 1.61 MB / 1.368 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3763, allocations: 0 / 1.368 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.3766, allocations: 68.06 kB / 1.368 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007818/0.3774, allocations: 275.1 kB / 1.368 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.3774, allocations: 8 kB / 1.368 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.3841, allocations: 6.67 MB / 1.375 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3841, allocations: 7.875 kB / 1.375 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3857, allocations: 0.9763 MB / 1.376 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.386, allocations: 111.5 kB / 1.376 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.386, allocations: 20 kB / 1.376 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.3864, allocations: 23.97 kB / 1.376 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3865, allocations: 47.86 kB / 1.376 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.3866, allocations: 19.98 kB / 1.376 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004518/0.387, allocations: 383.1 kB / 1.376 GB, free: 12.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.387, allocations: 0 / 1.376 GB, free: 12.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008044/0.3878, allocations: 224 kB / 1.377 GB, free: 12.39 MB / 1.076 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.001863/0.3897, allocations: 1.544 MB / 1.378 GB, free: 10.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.3917, allocations: 1.236 MB / 1.379 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3917, allocations: 0 / 1.379 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3929, allocations: 0.8619 MB / 1.38 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3939, allocations: 208.9 kB / 1.38 GB, free: 8.387 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.4026, allocations: 6.371 MB / 1.387 GB, free: 1.672 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.403, allocations: 415.5 kB / 1.387 GB, free: 1.242 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004054/0.4035, allocations: 126 kB / 1.387 GB, free: 1.117 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.4038, allocations: 251.4 kB / 1.387 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of SimCode: time 1.103e-06/0.4038, allocations: 0 / 1.387 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.4572, allocations: 19.08 MB / 1.406 GB, free: 14.26 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.34, allocations: 10 kB / 1.406 GB, free: 14.26 MB / 1.107 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.023971454938874]