Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001776/0.001776, allocations: 113.8 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.002198/0.002198, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.086/3.086, allocations: 0.49 GB / 0.7959 GB, free: 33.54 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_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: 62.36 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008351/0.3086, allocations: 5.768 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3134, allocations: 2.782 MB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.3137, allocations: 31.69 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.3156, allocations: 0.7158 MB / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009266/0.3165, allocations: 417.8 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.3175, allocations: 416.9 kB / 1.337 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3188, allocations: 0.9671 MB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.3195, allocations: 390.4 kB / 1.338 GB, free: 6.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.3202, allocations: 382.6 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.3209, allocations: 434.3 kB / 1.339 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.321, allocations: 48 kB / 1.339 GB, free: 5.602 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.3217, allocations: 367.2 kB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.322, allocations: 255.2 kB / 1.339 GB, free: 4.992 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.3224, allocations: 350.2 kB / 1.34 GB, free: 4.648 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.3235, allocations: 0.9728 MB / 1.341 GB, free: 3.672 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3235, allocations: 4 kB / 1.341 GB, free: 3.668 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3235, allocations: 0 / 1.341 GB, free: 3.668 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3236, allocations: 3.938 kB / 1.341 GB, free: 3.664 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.001616/0.3252, allocations: 0.9224 MB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3252, allocations: 12.03 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.3252, allocations: 13.19 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.3253, allocations: 102.7 kB / 1.342 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.3267, allocations: 196.3 kB / 1.342 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.3276, allocations: 464.8 kB / 1.342 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.3276, allocations: 45.36 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.3278, allocations: 60.25 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.329, allocations: 0.8355 MB / 1.343 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.329, allocations: 4 kB / 1.343 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.3291, allocations: 19.98 kB / 1.343 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.3293, allocations: 72.94 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.3302, allocations: 0.5735 MB / 1.344 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/0.335, allocations: 4.501 MB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.3355, allocations: 279.3 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3358, allocations: 205.3 kB / 1.349 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3358, allocations: 12.27 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3359, allocations: 42.78 kB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3359, allocations: 0 / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.00572/0.3416, allocations: 2.334 MB / 1.351 GB, free: 8.449 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3416, allocations: 63.28 kB / 1.351 GB, free: 8.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.3422, allocations: 462.1 kB / 1.351 GB, free: 7.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.3422, allocations: 33.7 kB / 1.351 GB, free: 7.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.3425, allocations: 352.5 kB / 1.352 GB, free: 7.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3426, allocations: 150.7 kB / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.3428, allocations: 106.3 kB / 1.352 GB, free: 7.266 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.343, allocations: 358.8 kB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.3434, allocations: 241.2 kB / 1.353 GB, free: 6.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.3439, allocations: 403.4 kB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.3449, allocations: 0.6778 MB / 1.354 GB, free: 5.449 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3449, allocations: 4 kB / 1.354 GB, free: 5.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001795/0.3466, allocations: 0.9249 MB / 1.355 GB, free: 4.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3467, allocations: 10.19 kB / 1.355 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3467, allocations: 4.656 kB / 1.355 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000829/0.3475, allocations: 230.4 kB / 1.355 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.3481, allocations: 115.8 kB / 1.355 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.3537, allocations: 5.026 MB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.3542, allocations: 31.97 kB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.3542, allocations: 23.98 kB / 1.36 GB, free: 14.72 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.0003335/0.3546, allocations: 222.1 kB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3547, allocations: 59.62 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.3563, allocations: 0.7697 MB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3563, allocations: 4 kB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3563, allocations: 0 / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3563, allocations: 3.984 kB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.359, allocations: 1.47 MB / 1.362 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.359, allocations: 3.984 kB / 1.362 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.3594, allocations: 67.89 kB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/0.3601, allocations: 202.6 kB / 1.363 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3601, allocations: 19.98 kB / 1.363 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005313/0.3654, allocations: 4.963 MB / 1.367 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3654, allocations: 4.031 kB / 1.368 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.3674, allocations: 1.139 MB / 1.369 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.3676, allocations: 103.5 kB / 1.369 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.3677, allocations: 8 kB / 1.369 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.368, allocations: 31.95 kB / 1.369 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.3681, allocations: 36 kB / 1.369 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.3682, allocations: 12 kB / 1.369 GB, free: 5.105 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003868/0.3686, allocations: 314.9 kB / 1.369 GB, free: 4.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3686, allocations: 0 / 1.369 GB, free: 4.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007029/0.3693, allocations: 168 kB / 1.369 GB, free: 4.637 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.002206/0.3715, allocations: 1.693 MB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.3732, allocations: 0.9653 MB / 1.372 GB, free: 1.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3732, allocations: 0 / 1.372 GB, free: 1.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.3742, allocations: 0.6681 MB / 1.373 GB, free: 1.172 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.3751, allocations: 177.6 kB / 1.373 GB, free: 1.004 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/0.3833, allocations: 5.651 MB / 1.378 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.3839, allocations: 0.9415 MB / 1.379 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003558/0.3843, allocations: 121 kB / 1.379 GB, free: 9.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.3846, allocations: 207.4 kB / 1.379 GB, free: 9.773 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.3846, allocations: 0 / 1.379 GB, free: 9.773 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.4328, allocations: 14.79 MB / 1.394 GB, free: 11.27 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.16, allocations: 13.73 kB / 1.394 GB, free: 11.27 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 19.79129311698489]