Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001531/0.001531, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001968/0.001968, allocations: 217.8 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001925/0.001925, allocations: 62.38 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3169, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007088/0.3239, allocations: 5.066 MB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.3283, allocations: 2.592 MB / 1.292 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.3286, allocations: 43.56 kB / 1.292 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3297, allocations: 420 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008872/0.3306, allocations: 465.7 kB / 1.293 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.3314, allocations: 406.7 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.3324, allocations: 0.9294 MB / 1.294 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.3329, allocations: 317.9 kB / 1.294 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.3334, allocations: 358.6 kB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.3339, allocations: 374.3 kB / 1.295 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.3339, allocations: 40 kB / 1.295 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.3345, allocations: 415.1 kB / 1.295 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3347, allocations: 187.4 kB / 1.295 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.335, allocations: 322.2 kB / 1.296 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.336, allocations: 0.887 MB / 1.297 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.336, allocations: 0 / 1.297 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.336, allocations: 0 / 1.297 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.3361, allocations: 4 kB / 1.297 GB, free: 14.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001477/0.3375, allocations: 0.9012 MB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3376, allocations: 8.031 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.303e-05/0.3376, allocations: 13.19 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.3377, allocations: 90.7 kB / 1.298 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.339, allocations: 212.2 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009503/0.3399, allocations: 496.7 kB / 1.298 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.34, allocations: 33.36 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.3401, allocations: 44.36 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.3413, allocations: 0.8444 MB / 1.299 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.3413, allocations: 15.88 kB / 1.299 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.3414, allocations: 20 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3415, allocations: 68.95 kB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.3423, allocations: 0.5656 MB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.3475, allocations: 5.574 MB / 1.305 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.3481, allocations: 426.3 kB / 1.306 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3484, allocations: 200.7 kB / 1.306 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.3485, allocations: 11.92 kB / 1.306 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3485, allocations: 31.09 kB / 1.306 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3485, allocations: 0 / 1.306 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002407/0.3509, allocations: 1.148 MB / 1.307 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.351, allocations: 59.69 kB / 1.307 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.3515, allocations: 0.4991 MB / 1.308 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.3515, allocations: 29.7 kB / 1.308 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.3518, allocations: 371.6 kB / 1.308 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3519, allocations: 126.9 kB / 1.308 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.3521, allocations: 114.2 kB / 1.308 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3522, allocations: 362.8 kB / 1.309 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.3525, allocations: 201.2 kB / 1.309 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.353, allocations: 443.3 kB / 1.309 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.3539, allocations: 0.688 MB / 1.31 GB, free: 496 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3539, allocations: 4 kB / 1.31 GB, free: 492 kB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001303/0.3552, allocations: 0.8095 MB / 1.311 GB, free: 15.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3552, allocations: 8 kB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.3552, allocations: 15.92 kB / 1.311 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.3557, allocations: 152.9 kB / 1.311 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.3562, allocations: 123.7 kB / 1.311 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.3596, allocations: 4.033 MB / 1.315 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.36, allocations: 31.97 kB / 1.315 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.36, allocations: 36.16 kB / 1.315 GB, free: 10.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.3603, allocations: 213.5 kB / 1.315 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.3604, allocations: 67.58 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.3614, allocations: 0.597 MB / 1.316 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3614, allocations: 4 kB / 1.316 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3614, allocations: 0 / 1.316 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3614, allocations: 7.984 kB / 1.316 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.3633, allocations: 1.237 MB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3633, allocations: 0 / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3635, allocations: 55.89 kB / 1.317 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.364, allocations: 148.3 kB / 1.317 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.364, allocations: 8 kB / 1.317 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.3673, allocations: 4.026 MB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.3673, allocations: 4.031 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3684, allocations: 0.7163 MB / 1.322 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.3686, allocations: 91.53 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3686, allocations: 8 kB / 1.322 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3689, allocations: 23.97 kB / 1.322 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.369, allocations: 39.81 kB / 1.322 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.369, allocations: 12 kB / 1.322 GB, free: 3.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004018/0.3694, allocations: 342.8 kB / 1.322 GB, free: 2.785 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3694, allocations: 4 kB / 1.322 GB, free: 2.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006848/0.3701, allocations: 144 kB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.3715, allocations: 1.257 MB / 1.324 GB, free: 1.316 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.3729, allocations: 0.8663 MB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3729, allocations: 0 / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000814/0.3737, allocations: 0.5684 MB / 1.325 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.3747, allocations: 209.6 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/0.3821, allocations: 5.16 MB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.3827, allocations: 0.9059 MB / 1.331 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.3831, allocations: 129.2 kB / 1.331 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.3834, allocations: 191.4 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of SimCode: time 1.654e-06/0.3834, allocations: 0 / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.428, allocations: 13.39 MB / 1.345 GB, free: 11.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 6.875 kB / 1.345 GB, free: 11.69 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.29067831597058]