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.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.001796/0.001796, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002317/0.002317, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.086/3.086, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002029/0.002029, allocations: 69.47 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3728, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007726/0.3805, allocations: 5.004 MB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005089/0.3856, allocations: 2.572 MB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.3862, allocations: 35.62 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.3877, allocations: 418.9 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3892, allocations: 461.8 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3902, allocations: 381.4 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.3916, allocations: 0.9176 MB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.3922, allocations: 326.5 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.3928, allocations: 354.7 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.3933, allocations: 374.4 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.3933, allocations: 36 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/0.3941, allocations: 411.1 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3943, allocations: 183.4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.3946, allocations: 314.2 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3956, allocations: 0.8909 MB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3956, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3956, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3957, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.061 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.001448/0.3971, allocations: 0.8896 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3971, allocations: 8.031 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.3972, allocations: 90.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.3985, allocations: 216.2 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.3993, allocations: 480.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.3993, allocations: 37.34 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.3994, allocations: 48.36 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4005, allocations: 0.8446 MB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.4005, allocations: 7.938 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.4006, allocations: 20 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/0.4007, allocations: 68.95 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.4015, allocations: 0.5656 MB / 1.368 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.4064, allocations: 5.57 MB / 1.374 GB, free: 2.367 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.407, allocations: 418.3 kB / 1.374 GB, free: 1.949 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.4073, allocations: 200.7 kB / 1.374 GB, free: 1.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4073, allocations: 11.92 kB / 1.374 GB, free: 1.738 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4074, allocations: 38.5 kB / 1.374 GB, free: 1.691 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.4074, allocations: 0 / 1.374 GB, free: 1.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.00244/0.4098, allocations: 1.141 MB / 1.376 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4099, allocations: 59.69 kB / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.4104, allocations: 0.4911 MB / 1.376 GB, free: 15.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4104, allocations: 29.7 kB / 1.376 GB, free: 15.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.4107, allocations: 355.8 kB / 1.376 GB, free: 15.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4108, allocations: 126.9 kB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.411, allocations: 114.2 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4111, allocations: 362.8 kB / 1.377 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.4114, allocations: 197.2 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.4119, allocations: 451.3 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.4127, allocations: 0.6877 MB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4128, allocations: 4 kB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001297/0.414, allocations: 0.8094 MB / 1.379 GB, free: 12.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4141, allocations: 13.5 kB / 1.379 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4141, allocations: 8 kB / 1.379 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004886/0.4146, allocations: 152.7 kB / 1.379 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.415, allocations: 127.7 kB / 1.379 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.4185, allocations: 4.045 MB / 1.383 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.4189, allocations: 31.97 kB / 1.383 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.419, allocations: 28 kB / 1.383 GB, free: 7.82 MB / 1.076 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.0002778/0.4192, allocations: 226.2 kB / 1.384 GB, free: 7.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.4193, allocations: 59.62 kB / 1.384 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.4204, allocations: 0.5932 MB / 1.384 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4204, allocations: 8 kB / 1.384 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4204, allocations: 4 kB / 1.384 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4204, allocations: 3.984 kB / 1.384 GB, free: 6.898 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4223, allocations: 1.226 MB / 1.385 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4223, allocations: 4 kB / 1.385 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.4226, allocations: 59.89 kB / 1.386 GB, free: 5.523 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.423, allocations: 148.3 kB / 1.386 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.4231, allocations: 15.88 kB / 1.386 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.4266, allocations: 4.019 MB / 1.39 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4266, allocations: 7.969 kB / 1.39 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4277, allocations: 0.7043 MB / 1.39 GB, free: 224 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.428, allocations: 99.53 kB / 1.39 GB, free: 124 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.4281, allocations: 8 kB / 1.39 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.4284, allocations: 23.97 kB / 1.39 GB, free: 92 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.4285, allocations: 35.83 kB / 1.39 GB, free: 56 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4285, allocations: 11.98 kB / 1.39 GB, free: 44 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004546/0.429, allocations: 330.9 kB / 1.391 GB, free: 15.72 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.429, allocations: 0 / 1.391 GB, free: 15.72 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006648/0.4296, allocations: 144 kB / 1.391 GB, free: 15.58 MB / 1.092 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.001359/0.431, allocations: 1.254 MB / 1.392 GB, free: 14.26 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.4324, allocations: 0.8665 MB / 1.393 GB, free: 13.35 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4324, allocations: 0 / 1.393 GB, free: 13.35 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.4332, allocations: 0.5684 MB / 1.394 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.4342, allocations: 218.6 kB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.4408, allocations: 5.122 MB / 1.399 GB, free: 7.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.4414, allocations: 0.9097 MB / 1.4 GB, free: 6.082 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.4417, allocations: 117.3 kB / 1.4 GB, free: 5.965 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.442, allocations: 195.4 kB / 1.4 GB, free: 5.773 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/0.442, allocations: 0 / 1.4 GB, free: 5.773 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/1.749, allocations: 13.19 MB / 1.413 GB, free: 8.836 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.72, allocations: 20.83 kB / 1.413 GB, free: 8.82 MB / 1.107 GB " [Timeout remaining time 283] (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/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: 26.590801322832704]