Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0014/0.0014, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001645/0.001645, allocations: 216 kB / 23.04 MB, free: 5.078 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.089/3.089, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001979/0.001979, allocations: 69.61 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007893/0.3641, allocations: 5.666 MB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005028/0.3692, allocations: 2.763 MB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.3697, allocations: 35.69 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3716, allocations: 0.708 MB / 1.336 GB, free: 8.738 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3728, allocations: 417.8 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3738, allocations: 402.5 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3751, allocations: 0.9516 MB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.3757, allocations: 386.5 kB / 1.338 GB, free: 6.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006619/0.3764, allocations: 386.5 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.377, allocations: 434.3 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.897e-05/0.3771, allocations: 48 kB / 1.339 GB, free: 5.738 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.3779, allocations: 371.2 kB / 1.339 GB, free: 5.375 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.3781, allocations: 251.2 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.3785, allocations: 358.1 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.3798, allocations: 0.9689 MB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3798, allocations: 0 / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3798, allocations: 0 / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.3798, allocations: 4 kB / 1.34 GB, free: 3.801 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001745/0.3816, allocations: 0.9208 MB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3816, allocations: 8.031 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.513e-05/0.3816, allocations: 13.19 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3818, allocations: 98.69 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3832, allocations: 196.3 kB / 1.342 GB, free: 2.531 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.384, allocations: 459.6 kB / 1.342 GB, free: 2.062 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.384, allocations: 37.36 kB / 1.342 GB, free: 2.027 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3842, allocations: 60.3 kB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3854, allocations: 0.8239 MB / 1.343 GB, free: 1.059 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.3854, allocations: 11.89 kB / 1.343 GB, free: 1.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.3855, allocations: 27.97 kB / 1.343 GB, free: 1.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.3857, allocations: 64.95 kB / 1.343 GB, free: 0.957 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.3866, allocations: 0.5697 MB / 1.344 GB, free: 396 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.3915, allocations: 4.513 MB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.392, allocations: 279.2 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3923, allocations: 213.3 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3923, allocations: 8.281 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3923, allocations: 30.84 kB / 1.349 GB, free: 11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.3923, allocations: 0 / 1.349 GB, free: 11 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005577/0.3979, allocations: 2.338 MB / 1.351 GB, free: 8.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.398, allocations: 59.34 kB / 1.351 GB, free: 8.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.3985, allocations: 454 kB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.3985, allocations: 41.7 kB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3988, allocations: 348.5 kB / 1.352 GB, free: 7.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3989, allocations: 142.8 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3991, allocations: 110.2 kB / 1.352 GB, free: 7.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3993, allocations: 362.8 kB / 1.352 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3996, allocations: 233.2 kB / 1.352 GB, free: 6.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.4001, allocations: 413 kB / 1.353 GB, free: 6.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.401, allocations: 0.674 MB / 1.354 GB, free: 5.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.401, allocations: 4 kB / 1.354 GB, free: 5.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001777/0.4028, allocations: 0.9132 MB / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4028, allocations: 8 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4029, allocations: 4.656 kB / 1.354 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007919/0.4037, allocations: 226.3 kB / 1.355 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.4042, allocations: 119.8 kB / 1.355 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005461/0.4096, allocations: 5.038 MB / 1.36 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.4101, allocations: 27.97 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.4102, allocations: 24.14 kB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003591/0.4106, allocations: 226.1 kB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4107, allocations: 71.59 kB / 1.36 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.4122, allocations: 0.7543 MB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4122, allocations: 4 kB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4122, allocations: 3.828 kB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4122, allocations: 7.984 kB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.4148, allocations: 1.462 MB / 1.362 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4148, allocations: 192 / 1.362 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.4152, allocations: 71.89 kB / 1.362 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/0.4158, allocations: 202.6 kB / 1.362 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.4159, allocations: 16 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/0.421, allocations: 4.959 MB / 1.367 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.421, allocations: 4.031 kB / 1.367 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4229, allocations: 1.128 MB / 1.368 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.4231, allocations: 103.5 kB / 1.369 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.4232, allocations: 11.98 kB / 1.369 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.4235, allocations: 31.91 kB / 1.369 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.4236, allocations: 39.94 kB / 1.369 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.4237, allocations: 12 kB / 1.369 GB, free: 5.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003699/0.424, allocations: 306.9 kB / 1.369 GB, free: 4.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.424, allocations: 0 / 1.369 GB, free: 4.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000692/0.4247, allocations: 172 kB / 1.369 GB, free: 4.824 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.4269, allocations: 1.696 MB / 1.371 GB, free: 3.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.4286, allocations: 0.9651 MB / 1.372 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4286, allocations: 0 / 1.372 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.4296, allocations: 0.6681 MB / 1.372 GB, free: 1.359 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.4305, allocations: 182.8 kB / 1.373 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.439, allocations: 5.622 MB / 1.378 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.4397, allocations: 0.9415 MB / 1.379 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.4401, allocations: 117 kB / 1.379 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.4404, allocations: 211.3 kB / 1.379 GB, free: 9.984 MB / 1.076 GB Notification: Performance of SimCode: time 1.332e-06/0.4404, allocations: 0 / 1.379 GB, free: 9.984 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.4925, allocations: 14.69 MB / 1.394 GB, free: 11.58 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.62, allocations: 4.625 kB / 1.394 GB, free: 11.58 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.465063863026444]