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.001352/0.001352, 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.001566/0.001566, allocations: 220.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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.74/2.74, allocations: 476.7 MB / 0.7714 GB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.002015/0.002015, allocations: 65.22 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006785/0.3241, allocations: 5.012 MB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.3283, allocations: 2.561 MB / 1.292 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.3286, allocations: 35.62 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.3298, allocations: 421.8 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.3307, allocations: 465.7 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.3315, allocations: 375 kB / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3325, allocations: 0.9216 MB / 1.294 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.3331, allocations: 329.9 kB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.3336, allocations: 354.6 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.3342, allocations: 366.4 kB / 1.295 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.3342, allocations: 36 kB / 1.295 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.335, allocations: 415.1 kB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3352, allocations: 191.3 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.3356, allocations: 322.2 kB / 1.296 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.3368, allocations: 0.8793 MB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3368, allocations: 4 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3368, allocations: 0 / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3368, allocations: 0 / 1.296 GB, free: 14.94 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.001496/0.3383, allocations: 0.8818 MB / 1.297 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3383, allocations: 8.031 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.769e-05/0.3384, allocations: 17.19 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.3385, allocations: 98.62 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3397, allocations: 200.3 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.3405, allocations: 480.8 kB / 1.298 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.3406, allocations: 29.38 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.3407, allocations: 52.31 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.3418, allocations: 0.8483 MB / 1.299 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.3418, allocations: 7.938 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.3419, allocations: 23.98 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.342, allocations: 68.95 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.3428, allocations: 0.5616 MB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.3478, allocations: 5.582 MB / 1.305 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3484, allocations: 426.8 kB / 1.305 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.3487, allocations: 204.7 kB / 1.306 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3488, allocations: 4 kB / 1.306 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3488, allocations: 35.09 kB / 1.306 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 3.867e-06/0.3488, allocations: 3.984 kB / 1.306 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002487/0.3513, allocations: 1.132 MB / 1.307 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3513, allocations: 55.69 kB / 1.307 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/0.3519, allocations: 0.495 MB / 1.307 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3519, allocations: 33.69 kB / 1.307 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.3522, allocations: 359.8 kB / 1.308 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3523, allocations: 123 kB / 1.308 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3525, allocations: 118.2 kB / 1.308 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3526, allocations: 362.8 kB / 1.308 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.3529, allocations: 197.2 kB / 1.309 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3534, allocations: 443.3 kB / 1.309 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.3543, allocations: 0.688 MB / 1.31 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3543, allocations: 4 kB / 1.31 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001342/0.3557, allocations: 0.8101 MB / 1.31 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3557, allocations: 8.156 kB / 1.31 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3557, allocations: 15.94 kB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/0.3562, allocations: 148.2 kB / 1.311 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.3566, allocations: 127.7 kB / 1.311 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.3603, allocations: 4.045 MB / 1.315 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.3606, allocations: 35.97 kB / 1.315 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3607, allocations: 32 kB / 1.315 GB, free: 10.97 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.000272/0.3609, allocations: 217.4 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.361, allocations: 63.69 kB / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3621, allocations: 0.5891 MB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3621, allocations: 4 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3621, allocations: 8 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3621, allocations: 3.984 kB / 1.316 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.364, allocations: 1.229 MB / 1.317 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.364, allocations: 4 kB / 1.317 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3642, allocations: 51.89 kB / 1.317 GB, free: 8.684 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.3646, allocations: 156.3 kB / 1.317 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.3646, allocations: 4 kB / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.3681, allocations: 4.022 MB / 1.321 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/0.3681, allocations: 16.02 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3691, allocations: 0.7046 MB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3693, allocations: 87.59 kB / 1.322 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.3693, allocations: 11.98 kB / 1.322 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3696, allocations: 23.97 kB / 1.322 GB, free: 3.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.3697, allocations: 43.77 kB / 1.322 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3697, allocations: 12 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003584/0.37, allocations: 330.8 kB / 1.322 GB, free: 2.879 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.37, allocations: 0 / 1.322 GB, free: 2.879 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006046/0.3707, allocations: 140 kB / 1.322 GB, free: 2.742 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.001341/0.372, allocations: 1.261 MB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.3733, allocations: 0.8618 MB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3733, allocations: 0 / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.3741, allocations: 0.569 MB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.3751, allocations: 209.7 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.3815, allocations: 5.116 MB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.3821, allocations: 0.9019 MB / 1.331 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.3824, allocations: 117.2 kB / 1.331 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.3826, allocations: 195.4 kB / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.3826, allocations: 0 / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.4271, allocations: 13.25 MB / 1.344 GB, free: 12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.69, allocations: 5.781 kB / 1.344 GB, free: 11.99 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: 19.306598529045004]