Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001485/0.001485, allocations: 213.5 kB / 22.25 MB, free: 4.859 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.789 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.846/2.846, allocations: 476 MB / 0.7699 GB, free: 4.73 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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.002136/0.002136, allocations: 71.02 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007578/0.3398, allocations: 4.613 MB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004986/0.3448, allocations: 2.405 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.3454, allocations: 35.62 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.3469, allocations: 413.9 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.3483, allocations: 461.7 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3494, allocations: 376.6 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.3511, allocations: 0.9217 MB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.3517, allocations: 306.4 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007131/0.3524, allocations: 362.6 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.353, allocations: 338.4 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.3531, allocations: 40 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007705/0.3539, allocations: 363.1 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.3542, allocations: 187.3 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.3545, allocations: 262.7 kB / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3559, allocations: 0.8905 MB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3559, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3559, allocations: 4 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.3559, allocations: 0 / 1.294 GB, free: 0.5078 MB / 0.9825 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.001787/0.3577, allocations: 0.8896 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3577, allocations: 12.03 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.3579, allocations: 94.69 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3592, allocations: 200.3 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009783/0.3602, allocations: 484.8 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.3602, allocations: 33.36 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.3603, allocations: 44.33 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3617, allocations: 0.974 MB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.3617, allocations: 7.938 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3618, allocations: 23.98 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.3619, allocations: 68.95 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.3628, allocations: 0.5656 MB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.3676, allocations: 4.716 MB / 1.302 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.3683, allocations: 434.2 kB / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.3686, allocations: 200.7 kB / 1.303 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3687, allocations: 4 kB / 1.303 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3687, allocations: 35.08 kB / 1.303 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3687, allocations: 4 kB / 1.303 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002583/0.3713, allocations: 1.13 MB / 1.304 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3713, allocations: 55.69 kB / 1.304 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.3719, allocations: 0.5027 MB / 1.304 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.372, allocations: 29.7 kB / 1.304 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.3723, allocations: 363.8 kB / 1.305 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3724, allocations: 130.9 kB / 1.305 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.3725, allocations: 114.2 kB / 1.305 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3727, allocations: 366.8 kB / 1.305 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.3731, allocations: 193.2 kB / 1.306 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.3736, allocations: 447.3 kB / 1.306 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.3745, allocations: 0.6958 MB / 1.307 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3745, allocations: 0 / 1.307 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001375/0.3758, allocations: 0.8139 MB / 1.307 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3759, allocations: 8 kB / 1.307 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3759, allocations: 8 kB / 1.307 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.3764, allocations: 156.1 kB / 1.308 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.3769, allocations: 119.8 kB / 1.308 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.3805, allocations: 4.026 MB / 1.312 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3809, allocations: 35.97 kB / 1.312 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.3809, allocations: 28 kB / 1.312 GB, free: 13.45 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.0002766/0.3812, allocations: 214.3 kB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.3813, allocations: 71.7 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3824, allocations: 0.5929 MB / 1.313 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3824, allocations: 4 kB / 1.313 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3824, allocations: 3.984 kB / 1.313 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3824, allocations: 0 / 1.313 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.3844, allocations: 1.187 MB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3844, allocations: 4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3847, allocations: 56.11 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.3851, allocations: 140.2 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3851, allocations: 11.94 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.3887, allocations: 4.014 MB / 1.318 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3887, allocations: 4.062 kB / 1.318 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3898, allocations: 0.7162 MB / 1.319 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.39, allocations: 91.58 kB / 1.319 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.3901, allocations: 11.98 kB / 1.319 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3904, allocations: 15.98 kB / 1.319 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.3904, allocations: 43.75 kB / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3905, allocations: 12 kB / 1.319 GB, free: 5.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004175/0.3909, allocations: 330.8 kB / 1.319 GB, free: 5.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3909, allocations: 0 / 1.319 GB, free: 5.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006576/0.3915, allocations: 144 kB / 1.319 GB, free: 5.27 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.001496/0.393, allocations: 1.253 MB / 1.32 GB, free: 3.949 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.3946, allocations: 0.8625 MB / 1.321 GB, free: 3.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.3946, allocations: 0 / 1.321 GB, free: 3.043 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/0.3954, allocations: 0.5719 MB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3964, allocations: 215.2 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.4033, allocations: 5.109 MB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4036, allocations: 307.5 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004072/0.404, allocations: 125.2 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4043, allocations: 195.4 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/0.4043, allocations: 0 / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.4569, allocations: 14.17 MB / 1.341 GB, free: 14.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.21, allocations: 14 kB / 1.341 GB, free: 14.29 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 18.92481265310198]