Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.221/3.221, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.08 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007757/0.3383, allocations: 4.894 MB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.3429, allocations: 2.487 MB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.3433, allocations: 23.81 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3447, allocations: 398 kB / 1.312 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.3463, allocations: 473.6 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3475, allocations: 374.8 kB / 1.312 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.349, allocations: 0.9173 MB / 1.313 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.3496, allocations: 290.8 kB / 1.314 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.3504, allocations: 342.7 kB / 1.314 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.3511, allocations: 370.4 kB / 1.314 GB, free: 7.023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3512, allocations: 36 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.3522, allocations: 415.1 kB / 1.315 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.3525, allocations: 187.3 kB / 1.315 GB, free: 6.398 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.3529, allocations: 322.2 kB / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.3547, allocations: 0.8676 MB / 1.316 GB, free: 5.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3547, allocations: 4 kB / 1.316 GB, free: 5.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3547, allocations: 0 / 1.316 GB, free: 5.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.3548, allocations: 3.938 kB / 1.316 GB, free: 5.203 MB / 1.014 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.001902/0.3567, allocations: 0.961 MB / 1.317 GB, free: 4.191 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3567, allocations: 12.92 kB / 1.317 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.3569, allocations: 86.7 kB / 1.317 GB, free: 4.086 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3582, allocations: 208.2 kB / 1.317 GB, free: 3.883 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3593, allocations: 0.5339 MB / 1.318 GB, free: 3.312 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.3594, allocations: 37.36 kB / 1.318 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.3595, allocations: 52.34 kB / 1.318 GB, free: 3.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3608, allocations: 0.8522 MB / 1.319 GB, free: 2.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.3609, allocations: 11.89 kB / 1.319 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.3609, allocations: 20 kB / 1.319 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.872e-05/0.361, allocations: 60.95 kB / 1.319 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.362, allocations: 0.5734 MB / 1.319 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/0.3676, allocations: 5.651 MB / 1.325 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.3683, allocations: 426.3 kB / 1.325 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.3686, allocations: 204.7 kB / 1.325 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3686, allocations: 4 kB / 1.325 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3687, allocations: 38.56 kB / 1.325 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.3687, allocations: 3.938 kB / 1.325 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002827/0.3715, allocations: 1.501 MB / 1.327 GB, free: 9.223 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3715, allocations: 55.69 kB / 1.327 GB, free: 9.156 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.3722, allocations: 0.4989 MB / 1.327 GB, free: 8.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3722, allocations: 29.7 kB / 1.328 GB, free: 8.613 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.3725, allocations: 363.8 kB / 1.328 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3726, allocations: 126.9 kB / 1.328 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.3728, allocations: 110.2 kB / 1.328 GB, free: 8.016 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.373, allocations: 366.8 kB / 1.328 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3733, allocations: 193.2 kB / 1.329 GB, free: 7.461 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.3738, allocations: 443.3 kB / 1.329 GB, free: 6.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/0.3747, allocations: 0.6954 MB / 1.33 GB, free: 6.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.3747, allocations: 4 kB / 1.33 GB, free: 6.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001465/0.3762, allocations: 0.8096 MB / 1.331 GB, free: 5.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3762, allocations: 13.72 kB / 1.331 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.3762, allocations: 15.92 kB / 1.331 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.3768, allocations: 148.6 kB / 1.331 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.3773, allocations: 127.7 kB / 1.331 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.3812, allocations: 4.344 MB / 1.335 GB, free: 192 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.3816, allocations: 35.97 kB / 1.335 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.3817, allocations: 28 kB / 1.335 GB, free: 128 kB / 1.029 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.0003274/0.382, allocations: 209.7 kB / 1.335 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3821, allocations: 63.62 kB / 1.335 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3832, allocations: 0.5969 MB / 1.336 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3832, allocations: 4 kB / 1.336 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3833, allocations: 8 kB / 1.336 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3833, allocations: 3.984 kB / 1.336 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3853, allocations: 1.255 MB / 1.337 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3853, allocations: 4 kB / 1.337 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.3856, allocations: 55.89 kB / 1.337 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.386, allocations: 148.3 kB / 1.337 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.386, allocations: 11.94 kB / 1.337 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.39, allocations: 4.333 MB / 1.342 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.39, allocations: 0 / 1.342 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3911, allocations: 0.7082 MB / 1.342 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.3915, allocations: 172.7 kB / 1.343 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.3915, allocations: 15.98 kB / 1.343 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3918, allocations: 23.91 kB / 1.343 GB, free: 7.891 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3919, allocations: 39.83 kB / 1.343 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3919, allocations: 8 kB / 1.343 GB, free: 7.844 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3923, allocations: 334.8 kB / 1.343 GB, free: 7.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3923, allocations: 0 / 1.343 GB, free: 7.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006781/0.393, allocations: 140 kB / 1.343 GB, free: 7.383 MB / 1.045 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.001486/0.3945, allocations: 1.271 MB / 1.344 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.3961, allocations: 1.01 MB / 1.345 GB, free: 4.957 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3961, allocations: 0 / 1.345 GB, free: 4.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.397, allocations: 0.7225 MB / 1.346 GB, free: 4.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.398, allocations: 209.9 kB / 1.346 GB, free: 3.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/0.4053, allocations: 5.119 MB / 1.351 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.4059, allocations: 0.9096 MB / 1.352 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.4063, allocations: 117.3 kB / 1.352 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.4066, allocations: 191.4 kB / 1.352 GB, free: 13.2 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/0.4066, allocations: 0 / 1.352 GB, free: 13.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.4576, allocations: 12.79 MB / 1.365 GB, free: 0.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.44, allocations: 1.125 kB / 1.365 GB, free: 0.668 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.037196290213615]